https://bugzilla.novell.com/show_bug.cgi?id=719102
https://bugzilla.novell.com/show_bug.cgi?id=719102#c21
--- Comment #21 from Marius Tomaschewski 2011-09-20 12:42:06 UTC ---
Hmm...
maybe it has something to do with the supervisor?
Sep 20 14:11:37 exodus3 syslog-ng[3801]: syslog-ng starting up;
version='3.3.0beta2'
Sep 20 14:11:37 exodus3 [ 1608.973673] systemd[1]: syslog.service: Supervising
process 1961 which is not our child. We'll most likely not notice when it
exits.
The supervisor can be disabled by starting it with "--process-mode=background":
exodus3:~ # diff -u syslog-service-generator.orig
/lib/systemd/system-generators/syslog-service-generator
--- syslog-service-generator.orig 2011-09-20 14:39:41.882999442 +0200
+++ /lib/systemd/system-generators/syslog-service-generator 2011-09-20
14:30:15.604867922 +0200
@@ -92,7 +92,7 @@
fi
/bin/mkdir -p -m 0755 ${socksdir#/var}
/bin/touch -m 0600 ${socks#/var}
- params="$SYSLOG_NG_PARAMS"
+ params="--process-mode=background $SYSLOG_NG_PARAMS"
;;
rsyslogd)
syslog=rsyslogd
exodus3:~ # systemctl status syslog.service
syslog.service - System Logging Service
Loaded: loaded (/lib/systemd/system/syslog.service; enabled)
Active: active (running) since Tue, 20 Sep 2011 14:30:31 +0200; 4min
56s ago
Process: 500 ExecStart=/sbin/syslog-ng --process-mode=background
(code=exited, status=0/SUCCESS)
Process: 491 ExecStartPre=/var/run/syslog-ng/addsockets (code=exited,
status=0/SUCCESS)
Process: 481 ExecStartPre=/bin/systemctl stop
systemd-kmsg-syslogd.service (code=exited, status=0/SUCCESS)
Main PID: 504 (syslog-ng)
CGroup: name=systemd:/system/syslog.service
└ 504 /sbin/syslog-ng --process-mode=background
exodus3:~ # systemctl restart syslog.service
exodus3:~ # systemctl status syslog.service
syslog.service - System Logging Service
Loaded: loaded (/lib/systemd/system/syslog.service; enabled)
Active: active (running) since Tue, 20 Sep 2011 14:35:40 +0200; 2s
ago
Process: 1867 ExecStart=/sbin/syslog-ng --process-mode=background
(code=exited, status=0/SUCCESS)
Process: 1865 ExecStartPre=/var/run/syslog-ng/addsockets (code=exited,
status=0/SUCCESS)
Process: 1863 ExecStartPre=/bin/systemctl stop
systemd-kmsg-syslogd.service (code=exited, status=0/SUCCESS)
Main PID: 1868 (syslog-ng)
CGroup: name=systemd:/system/syslog.service
└ 1868 /sbin/syslog-ng --process-mode=background
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.