Same issue with /var/log/btmp and same fix: Comment out the entry in /etc/logrotate.conf
root@sei:/etc# !diff diff -Naur logrotate.conf.dist logrotate.conf --- logrotate.conf.dist 2017-08-21 19:38:26.000000000 +0200 +++ logrotate.conf 2021-02-16 02:09:31.665145104 +0100 @@ -19,18 +19,18 @@ include /etc/logrotate.d
# no packages own wtmp, or btmp -- we'll rotate them here -/var/log/wtmp { - missingok - monthly - create 0664 root utmp - rotate 1 -} +#/var/log/wtmp { +# missingok +# monthly +# create 0664 root utmp +# rotate 1 +#}
-/var/log/btmp { - missingok - monthly - create 0660 root utmp - rotate 1 -} +#/var/log/btmp { +# missingok +# monthly +# create 0660 root utmp +# rotate 1 +#}
# system-specific logs may be configured here
Same issue with /var/log/btmp and same fix: Comment out the entry in /etc/logrotate.conf
root@sei:/etc# !diff
diff -Naur logrotate.conf.dist logrotate.conf
--- logrotate.conf.dist 2017-08-21 19:38:26.000000000 +0200
+++ logrotate.conf 2021-02-16 02:09:31.665145104 +0100
@@ -19,18 +19,18 @@
include /etc/logrotate.d
# no packages own wtmp, or btmp -- we'll rotate them here
-/var/log/wtmp {
- missingok
- monthly
- create 0664 root utmp
- rotate 1
-}
+#/var/log/wtmp {
+# missingok
+# monthly
+# create 0664 root utmp
+# rotate 1
+#}
-/var/log/btmp {
- missingok
- monthly
- create 0660 root utmp
- rotate 1
-}
+#/var/log/btmp {
+# missingok
+# monthly
+# create 0660 root utmp
+# rotate 1
+#}
# system-specific logs may be configured here