Bug#866313: systemd: create /var/log/lastlog if it does not exist
Peter Colberg
peter at colberg.org
Wed Jun 28 20:50:35 BST 2017
Package: systemd
Version: 233-9
Severity: normal
Dear Maintainer,
Could you extend /usr/lib/tmpfiles.d/var.conf as follows?
f /var/log/lastlog 0664 root utmp -
systemd already creates /var/log/wtmp and /var/log/btmp if they do not
exist. For custom live-boot images that exclude files under /var/log/,
it would be nice to also create /var/log/lastlog, e.g., for sshd:
# grep lastlog /var/log/auth.log
Jun 27 20:00:00 huron sshd[1234]: lastlog_openseek: Couldn't stat /var/log/lastlog: No such file or directory
Regards,
Peter
More information about the Pkg-systemd-maintainers
mailing list