diff --git a/scripts/latecommand.tar.gz b/scripts/latecommand.tar.gz index d620940..03bdd15 100644 Binary files a/scripts/latecommand.tar.gz and b/scripts/latecommand.tar.gz differ diff --git a/scripts/latecommand/buster/etc/logrotate.conf b/scripts/latecommand/buster/etc/logrotate.conf index 61a7705..10c01b7 100644 --- a/scripts/latecommand/buster/etc/logrotate.conf +++ b/scripts/latecommand/buster/etc/logrotate.conf @@ -8,22 +8,3 @@ notifempty include /etc/logrotate.d rotate 4 -# No packages own wtmp or btmp, they will be managed directly -/var/log/wtmp { - missingok - monthly - create 0664 root utmp - rotate 3 - olddir /var/log/old_logs.d - minsize 1M -} - -# No packages own wtmp or btmp, they will be managed directly -/var/log/btmp { - missingok - monthly - create 0660 root utmp - rotate 3 - olddir /var/log/old_logs.d -} - diff --git a/scripts/latecommand/buster/etc/logrotate.d/btmp b/scripts/latecommand/buster/etc/logrotate.d/btmp new file mode 100644 index 0000000..e2ce942 --- /dev/null +++ b/scripts/latecommand/buster/etc/logrotate.d/btmp @@ -0,0 +1,8 @@ +# no packages own btmp -- we'll rotate it here +/var/log/btmp { + missingok + monthly + create 0660 root utmp + rotate 3 + olddir /var/log/old_logs.d +} diff --git a/scripts/latecommand/buster/etc/logrotate.d/wtmp b/scripts/latecommand/buster/etc/logrotate.d/wtmp new file mode 100644 index 0000000..b0e0a76 --- /dev/null +++ b/scripts/latecommand/buster/etc/logrotate.d/wtmp @@ -0,0 +1,9 @@ +# no packages own wtmp -- we'll rotate it here +/var/log/wtmp { + missingok + monthly + create 0664 root utmp + minsize 1M + rotate 3 + olddir /var/log/old_logs.d +}