[Pkg-sysvinit-devel] Bug#777125: sysvinit-utils: service cmd with systemd shows, but did not stop duplicate instances of nslcd
Hermann Lauer
Hermann.Lauer at iwr.uni-heidelberg.de
Thu Feb 5 10:15:32 UTC 2015
Package: sysvinit-utils
Version: 2.88dsf-58
Severity: normal
Dear Maintainer,
during some "service {start,stop,restart,status} nslcd" usage
there are for unknown reasons two instances of nslcd running:
# service nslcd status
● nslcd.service - LSB: LDAP connection daemon
Loaded: loaded (/etc/init.d/nslcd)
Active: active (running) since Mon 2015-02-02 14:56:16 CET; 2 days ago
Process: 42551 ExecStop=/etc/init.d/nslcd stop (code=exited, status=0/SUCCESS)
Process: 45654 ExecStart=/etc/init.d/nslcd start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/nslcd.service
├─30826 /usr/sbin/nslcd
└─45662 /usr/sbin/nslcd
# service nslcd stop
# service nslcd status
● nslcd.service - LSB: LDAP connection daemon
Loaded: loaded (/etc/init.d/nslcd)
Active: inactive (dead) since Thu 2015-02-05 10:47:23 CET; 7s ago
Process: 40938 ExecStop=/etc/init.d/nslcd stop (code=exited, status=0/SUCCESS)
Process: 45654 ExecStart=/etc/init.d/nslcd start (code=exited, status=0/SUCCESS)
Feb 05 10:25:12 quadxeon5 nslcd[45662]: [072b28] <passwd="*"> request denied by validnames option
Feb 05 10:34:19 quadxeon5 nslcd[45662]: [5af992] <passwd="*"> request denied by validnames option
Feb 05 10:34:54 quadxeon5 nslcd[45662]: [e1da79] <passwd="*"> request denied by validnames option
Feb 05 10:36:22 quadxeon5 nslcd[45662]: [2949ad] <passwd="*"> request denied by validnames option
Feb 05 10:39:47 quadxeon5 nslcd[45662]: [6ee0c4] <passwd="*"> request denied by validnames option
Feb 05 10:43:27 quadxeon5 nslcd[45662]: [9a820e] <passwd="..."> (re)loading /etc/nsswitch.conf
Feb 05 10:45:30 quadxeon5 nslcd[45662]: [7708e0] <passwd="*"> request denied by validnames option
Feb 05 10:47:23 quadxeon5 nslcd[45662]: caught signal SIGTERM (15), shutting down
Feb 05 10:47:23 quadxeon5 nslcd[40938]: Stopping LDAP connection daemon: nslcd.
Feb 05 10:47:23 quadxeon5 nslcd[45662]: version 0.9.4 bailing out
As can be seen, stop seems to have worked.
But pstree still shows one nslcd running:
# pstree -paul | fgrep nslcd
|-nslcd,30826,nslcd
| |-{nslcd},30924
| |-{nslcd},30925
| |-{nslcd},30926
| |-{nslcd},30927
| `-{nslcd},30928
I would expect "service stop" to stop all daemons listed in status.
Thanks for your work,
greetings
Hermann
-- System Information:
Debian Release: 8.0
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/80 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages sysvinit-utils depends on:
ii libc6 2.19-13
ii libselinux1 2.3-2
ii startpar 0.59-3
sysvinit-utils recommends no packages.
Versions of packages sysvinit-utils suggests:
pn bootlogd <none>
pn sash <none>
-- no debconf information
More information about the Pkg-sysvinit-devel
mailing list