FS#65217 - [syslog-ng] 3.25.1-2 service doesn't stop normally, has to be killed by systemd
Attached to Project:
Arch Linux
Opened by Ash (eta-carinae) - Monday, 20 January 2020, 10:39 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 24 January 2020, 23:48 GMT
Opened by Ash (eta-carinae) - Monday, 20 January 2020, 10:39 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 24 January 2020, 23:48 GMT
|
Details
The syslog-ng 'default' service, started with systemctl
start
syslog-ng@default.service, doesn't stop with
SIGTERM as previous versions did, so systemd runs a stop job and SIGKILLs it after 90 seconds: Jan 20 05:29:10 host systemd[1]: syslog-ng@default.service: State 'stop-sigterm' timed out. Killing. Jan 20 05:29:10 host systemd[1]: syslog-ng@default.service: Killing process 909 (syslog-ng) with signal SIGKILL. Jan 20 05:29:10 host systemd[1]: syslog-ng@default.service: Main process exited, code=killed, status=9/KILL Jan 20 05:29:10 host systemd[1]: syslog-ng@default.service: Failed with result 'timeout'. Jan 20 05:29:10 host systemd[1]: Stopped System Logger Daemon "default" instance. |
This task depends upon
Closed by Doug Newgard (Scimmia)
Friday, 24 January 2020, 23:48 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#65206
Friday, 24 January 2020, 23:48 GMT
Reason for closing: Duplicate
Additional comments about closing:
the SERVICE_START/SERVICE_STOP entries from audit. I seem to recall seeing logging from syslog-ng in the past but even
on a debian system I'm running with 3.19 I don't see anything other than some connection failures. Even adding -v doesn't
produce any entries. This is with the packaged service file.
(/var/lib/syslog-ng, /etc/syslog-ng, /run/syslog-ng.*), disabled the service, then reinstalled and started
it with the default configuration. Same problem shutting down.
From my description there: On shutdown a message about a stop job is shown.
I didn't go into detail about the message and waiting 90 seconds before system continues shutdown,
because the main problem is nothing is logged.
Downgrading to 3.25.1-1 is the best workaround for now.