Your message dated Sat, 10 Apr 2021 12:02:16 +0200
with message-id <[email protected]>
and subject line Re: Bug#968049: Failed to kill unit rsyslog.service:
Input/output error
has caused the Debian Bug report #968049,
regarding ghost service PIDs in LXC containers
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
968049: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968049
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
tags 968049 +wontfix
thanks
Hi Harald,
Le vendredi 07 août 2020 à 11:01:35+0200, Harald Dunkel a écrit :
> 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.
LXC's upstream stated they will not fix this for now, and I don't have
the intent of diving into this myself.
I'm closing the bug, but if upstream moves on it feel free to either
reopen it or open a new one.
Cheers!
--
Pierre-Elliott Bécue
GPG: 9AE0 4D98 6400 E3B6 7528 F493 0D44 2664 1949 74E2
It's far easier to fight for principles than to live up to them.
signature.asc
Description: PGP signature
--- End Message ---