Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1020875
| From | Harald Dunkel <harald.dunkel@aixigo.com> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#968049: Failed to kill unit rsyslog.service: Input/output error |
| Date | 2020-08-07 13:50 +0200 |
| Message-ID | <AB92N-6Ou-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Package: systemd
Version: 241-7~deb10u4
logrotate.service dies with
● logrotate.service - Rotate log files
Loaded: loaded (/lib/systemd/system/logrotate.service; static; vendor preset: enabled)
Active: activating (start) since Fri 2020-08-07 00:00:01 CEST; 346ms ago
Docs: man:logrotate(8)
man:logrotate.conf(5)
Main PID: 359518 (logrotate)
Tasks: 3 (limit: 618789)
Memory: 1.9M
CGroup: /system.slice/logrotate.service
└─359518 /usr/sbin/logrotate /etc/logrotate.conf
Aug 07 00:00:01 srvvm01.ac.aixigo.de systemd[1]: Starting Rotate log files...
Aug 07 00:00:01 srvvm01.ac.aixigo.de logrotate[359518]: Failed to kill unit rsyslog.service: Input/output error
Aug 07 00:00:01 srvvm01.ac.aixigo.de logrotate[359518]: error: error running non-shared postrotate script for /var/log/syslog of '/var/log/syslog
Aug 07 00:00:01 srvvm01.ac.aixigo.de logrotate[359518]: '
Looking closely this seems to be the part that is broken:
# systemctl kill -s HUP rsyslog.service
Failed to kill unit rsyslog.service: Input/output error
rsyslog *does* receive the HUP, as /var/log/messages seems to indicate:
Aug 7 10:48:53 srvvm01 rsyslogd: [origin software="rsyslogd" swVersion="8.1901.0" x-pid="96" x-info="https://www.rsyslog.com"] rsyslogd was HUPed
Apparently only systemd thinks that something went wrong, but
this is sufficient to break log file rotation :-(.
This is highly important. The host in question is our EMail server.
I have to move back to sysvinit, if logging and rotation don't work.
This is an LXC container. Host and container are both running Debian 10
and systemd 241-7~deb10u4.
Regards
Harri
Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#968049: Failed to kill unit rsyslog.service: Input/output error Harald Dunkel <harald.dunkel@aixigo.com> - 2020-08-07 13:50 +0200
Bug#968049: Failed to kill unit rsyslog.service: Input/output error Christian Göttsche <cgzones@googlemail.com> - 2020-08-07 17:00 +0200
Bug#968049: Failed to kill unit rsyslog.service: Input/output error Harald Dunkel <harald.dunkel@aixigo.com> - 2020-08-10 11:10 +0200
Bug#968049: Failed to kill unit rsyslog.service: Input/output error Harald Dunkel <harald.dunkel@aixigo.com> - 2020-08-10 11:10 +0200
Bug#968049: Failed to kill unit rsyslog.service: Input/output error Harald Dunkel <harald.dunkel@aixigo.com> - 2020-08-10 11:10 +0200
Bug#968049: Failed to kill unit rsyslog.service: Input/output error Michael Biebl <biebl@debian.org> - 2020-08-14 13:40 +0200
csiph-web