Package: logrotate
Version: 3.14.0-4
Severity: important
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Systemd systematically reports a failure to launch logrotate:
$ LC_ALL=C systemctl status logrotate.service
* logrotate.service - Rotate log files
Loaded: loaded (/lib/systemd/system/logrotate.service; static; vendor
preset: enabled)
Active: failed (Result: exit-code) since Mon 2019-02-11 16:34:08 EET; 5min
ago
Docs: man:logrotate(8)
man:logrotate.conf(5)
Process: 690 ExecStart=/usr/sbin/logrotate /etc/logrotate.conf (code=exited,
status=1/FAILURE)
Main PID: 690 (code=exited, status=1/FAILURE)
Feb 11 16:34:08 geode systemd[1]: Starting Rotate log files...
Feb 11 16:34:08 geode logrotate[690]: error: /etc/logrotate.conf:18 duplicate
log entry for /var/log/wtmp
Feb 11 16:34:08 geode logrotate[690]: error: /etc/logrotate.conf:25 duplicate
log entry for /var/log/btmp
Feb 11 16:34:08 geode systemd[1]: logrotate.service: Main process exited,
code=exited, status=1/FAILURE
Feb 11 16:34:08 geode systemd[1]: logrotate.service: Failed with result
'exit-code'.
Feb 11 16:34:08 geode systemd[1]: Failed to start Rotate log files.
This would suggest that there is a duplicate entry in the config file. The
attached file might shed some light on why.
- -- Package-specific info:
Contents of /etc/logrotate.d
total 36
- -rw-r--r-- 1 root root 120 Oct 21 2017 alternatives
- -rw-r--r-- 1 root root 173 Dec 22 2009 apt
- -rw-r--r-- 1 root root 130 Aug 29 01:21 btmp
- -rw-r--r-- 1 root root 112 Oct 21 2017 dpkg
- -rw-r--r-- 1 root root 157 Feb 1 2011 pm-utils
- -rw-r--r-- 1 root root 94 Apr 18 2014 ppp
- -rw-r--r-- 1 root root 501 Jun 25 2017 rsyslog
- -rw-r--r-- 1 root root 235 Dec 11 2016 unattended-upgrades
- -rw-r--r-- 1 root root 145 Feb 19 2018 wtmp
- -- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (1111, 'testing'), (1101, 'stable'), (1011, 'oldstable')
Architecture: i386 (i586)
Kernel: Linux 4.19.0-2-686 (SMP w/1 CPU core)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=fi:en
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages logrotate depends on:
ii libacl1 2.2.52-3+b1
ii libc6 2.28-6
ii libpopt0 1.16-12
ii libselinux1 2.8-1+b1
ii systemd-cron [cron-daemon] 1.5.14-2
ii systemd-sysv 240-5
Versions of packages logrotate recommends:
ii bsd-mailx [mailx] 8.1.2-0.20180807cvs-1
logrotate suggests no packages.
- -- Configuration Files:
/etc/logrotate.conf changed:
daily
rotate 1
create
compress
include /etc/logrotate.d
/var/log/wtmp {
missingok
monthly
create 0664 root utmp
rotate 1
}
/var/log/btmp {
missingok
monthly
create 0660 root utmp
rotate 1
}
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEyJACx3qL7GpObXOQrh+Cd8S017YFAlxhiZ4ACgkQrh+Cd8S0
17b7EA/+Ku+8EeSVCvj0S8e6puGfaIOJFuH0TjfRCEzH+KW1x24+DZNvHBJsAyu3
UdecXQ80CAZ2lp1DXBQZI19SEWwkDf+mi+yV6fcOZci6vdVdlfvl38VTzmSRn3FU
2Y6CbA59SX4omc14fMD0HB/Ams4qRmgc64C1BlDbf9mjpxxb+QcaDsE8/w7irLpo
CvplyXUONZmLkoSUjmO7PPk+4k6NIWr2ZqVq7PndBCuktCNBhRRgP6eFZ0JPgbk6
QzZH0H59h3TWg8AEr6CP+dwGNJjrq2aOCUVVzhSvXgXHUi5PjDfJG7bMB/lYTNq1
URRogpNs/CQYNuDKIkmdk83ANtGhCbjjFu6TKAZBUUHtv2H4jZHeS/nDV9CS+N9p
ysHMQOS79dxqIRbV1iYi/ou3mfVF8xe20swhSRxfmno2ZdixRvZ/3vI0S6iX+MMN
56JAk1tzBzpD5vkE5dr2dVhMKcRcz+wNHrKdkLbGzHhOdJZY6rHjYA7cPNPqrra2
KEJ7AxorIh9rdy/LFyLKWBBUXivOYOapqU9Zom5aDl4DA2cwDD6FdiYv+ZIsW4QA
4RLKTeSjzvQ1fsHWeBBbmtQQCFqn6Wc3OJgJvq3fIsdmPNt7ZwoEJJJUnYyef0Gf
050U1OWjmeF/VfWEy2mHQ4pw3BcO49i2RUuSF7aNfMUG1D6IHN4=
=UEU/
-----END PGP SIGNATURE-----