Mailinglist Archive: opensuse-bugs (3547 mails)

< Previous Next >
[Bug 721426] New: systemd: systemctl status foo.service lies
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 30 Sep 2011 08:52:23 +0000
  • Message-id: <bug-721426-21960@http.bugzilla.novell.com/>

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@xxxxxxxx
ReportedBy: lnussel@xxxxxxxx
QAContact: qa@xxxxxxx
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.
< Previous Next >