Bug#968049: Failed to kill unit rsyslog.service: Input/output error
Harald Dunkel
harald.dunkel at aixigo.com
Mon Aug 10 07:06:15 BST 2020
On 8/7/20 1:55 PM, Michael Biebl wrote:
>
> What's the output of logrotate -v /etc/logrotate.d/rsyslog
>
Sorry, I should have included this right from the start.
srvvm01:~# logrotate -v /etc/logrotate.d/rsyslog
reading config file /etc/logrotate.d/rsyslog
Reading state from file: /var/lib/logrotate/status
Allocating hash table for state file, size 64 entries
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Creating new state
Handling 2 logs
rotating pattern: /var/log/syslog
after 1 days (7 rotations)
empty log files are not rotated, log files >= 1073741824 are rotated earlier, old logs are removed
considering log /var/log/syslog
Now: 2020-08-10 08:02
Last rotated at 2020-08-10 00:00
log does not need rotating (log has been rotated at 2020-8-10 0:0, that is not day ago yet)
rotating pattern: /var/log/mail.info
/var/log/mail.warn
/var/log/mail.err
/var/log/mail.log
/var/log/daemon.log
/var/log/kern.log
/var/log/auth.log
/var/log/user.log
/var/log/lpr.log
/var/log/cron.log
/var/log/debug
/var/log/messages
weekly (13 rotations)
empty log files are not rotated, log files >= 1073741824 are rotated earlier, old logs are removed
considering log /var/log/mail.info
Now: 2020-08-10 08:02
Last rotated at 2020-08-10 00:00
log does not need rotating (log has been rotated at 2020-8-10 0:0, that is not week ago yet)
considering log /var/log/mail.warn
Now: 2020-08-10 08:02
Last rotated at 2020-08-10 00:00
log does not need rotating (log has been rotated at 2020-8-10 0:0, that is not week ago yet)
considering log /var/log/mail.err
Now: 2020-08-10 08:02
Last rotated at 2020-08-10 00:00
log does not need rotating (log has been rotated at 2020-8-10 0:0, that is not week ago yet)
considering log /var/log/mail.log
Now: 2020-08-10 08:02
Last rotated at 2020-08-10 00:00
log does not need rotating (log has been rotated at 2020-8-10 0:0, that is not week ago yet)
considering log /var/log/daemon.log
Now: 2020-08-10 08:02
Last rotated at 2020-08-10 00:00
log does not need rotating (log has been rotated at 2020-8-10 0:0, that is not week ago yet)
considering log /var/log/kern.log
Now: 2020-08-10 08:02
Last rotated at 2020-07-28 00:00
log does not need rotating (log is empty)
considering log /var/log/auth.log
Now: 2020-08-10 08:02
Last rotated at 2020-08-10 00:00
log does not need rotating (log has been rotated at 2020-8-10 0:0, that is not week ago yet)
considering log /var/log/user.log
Now: 2020-08-10 08:02
Last rotated at 2020-08-10 00:00
log does not need rotating (log has been rotated at 2020-8-10 0:0, that is not week ago yet)
considering log /var/log/lpr.log
Now: 2020-08-10 08:02
Last rotated at 2009-11-13 00:00
log does not need rotating (log is empty)
considering log /var/log/cron.log
Now: 2020-08-10 08:02
Last rotated at 2020-08-10 00:00
log does not need rotating (log has been rotated at 2020-8-10 0:0, that is not week ago yet)
considering log /var/log/debug
Now: 2020-08-10 08:02
Last rotated at 2020-08-06 00:00
log does not need rotating (log has been rotated at 2020-8-6 0:0, that is not week ago yet)
considering log /var/log/messages
Now: 2020-08-10 08:02
Last rotated at 2020-08-10 00:00
log does not need rotating (log has been rotated at 2020-8-10 0:0, that is not week ago yet)
not running postrotate script, since no logs were rotated
srvvm01:~# echo $?
0
More information about the Pkg-systemd-maintainers
mailing list