summaryrefslogtreecommitdiff
path: root/tmpfiles.d/var.conf.m4
Commit message (Collapse)AuthorAgeFilesLines
* tmpfiles: create /var/log/lastlog if it does not existMichael Biebl2017-06-291-0/+1
| | | | | | | | | | Create /var/log/lastlog the same way we create utmp and wtmp. This is useful for stateless systems where /var is volatile and a missing /var/log/lastlog otherwise creates error messages like Jun 27 20:00:00 huron sshd[1234]: lastlog_openseek: Couldn't stat /var/log/lastlog: No such file or directory Fixes #6234
* tmpfiles: Remove unnecessary utmp file creation (#6006)codekipper2017-05-241-0/+24
If utmp is disabled (--disable-utmp) then there is no need to create the wtmp and btmp files.