Package: acct
Version: 6.6.4-3
Severity: normal
Tags: patch

The latest commit, 83278eebd2d1caedfd4e664b2eff2972d5235341, introduced a
regression by misspelling /var/log/wtmp.1.gz as /var/log/wtmp1.gz .

The impact is probably minor since the default logrotate configuration does
not compress wtmp after rotation.

Patch attached.
--- a/debian/acct.cron.monthly
+++ b/debian/acct.cron.monthly
@@ -27,7 +27,7 @@
 # The script process the content of wtmp.1 or wtmp.1.gz (if one of them exists)
 # and also the data from current wtmp.
 
-if test -f /var/log/wtmp.1 || test -f /var/log/wtmp1.gz; then
+if test -f /var/log/wtmp.1 || test -f /var/log/wtmp.1.gz; then
 
 		if [ -f /var/log/wtmp.1 ]
 		then

Reply via email to