https://bugzilla.novell.com/show_bug.cgi?id=721426 https://bugzilla.novell.com/show_bug.cgi?id=721426#c0 Summary: systemd: systemctl status foo.service lies Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: fcrozat@suse.com ReportedBy: lnussel@suse.com QAContact: qa@suse.de Found By: --- Blocker: --- For sysv services systemctl status reports active even when the daemon exited: nscd.service - LSB: Start Name Service Cache Daemon Loaded: loaded (/etc/init.d/nscd) Active: active (running) since Fri, 30 Sep 2011 08:50:22 +0200; 1s ago Process: 6667 ExecStop=/etc/init.d/nscd stop (code=exited, status=0/SUCCESS) Process: 6678 ExecStart=/etc/init.d/nscd start (code=exited, status=0/SUCCESS) Main PID: 6686 (nscd) CGroup: name=systemd:/system/nscd.service └ 6686 /usr/sbin/nscd blah:~ # echo $? 0 blah:~ # killall nscd blah:~ # systemctl status nscd.service nscd.service - LSB: Start Name Service Cache Daemon Loaded: loaded (/etc/init.d/nscd) Active: active (exited) since Fri, 30 Sep 2011 08:50:22 +0200; 22s ago Process: 6667 ExecStop=/etc/init.d/nscd stop (code=exited, status=0/SUCCESS) Process: 6678 ExecStart=/etc/init.d/nscd start (code=exited, status=0/SUCCESS) Main PID: 6686 (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/nscd.service blah:~ # echo $? 0 Moreover, systemctl start now doesn't start it anymore: blah:~ # systemctl start nscd.service blah:~ # echo $? 0 blah:~ # systemctl status nscd.service nscd.service - LSB: Start Name Service Cache Daemon Loaded: loaded (/etc/init.d/nscd) Active: active (exited) since Fri, 30 Sep 2011 08:50:22 +0200; 48s ago Process: 6667 ExecStop=/etc/init.d/nscd stop (code=exited, status=0/SUCCESS) Process: 6678 ExecStart=/etc/init.d/nscd start (code=exited, status=0/SUCCESS) Main PID: 6686 (code=exited, status=0/SUCCESS) CGroup: name=systemd:/system/nscd.service -- 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.