nslcd does not survive "service nslcd restart"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nss-pam-ldapd (Debian) |
Fix Released
|
Unknown
|
|||
nss-pam-ldapd (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
On fast machines, if I change the configuration of nslcd and restart it via "service nslcd restart", the result is:
* LDAP name resolution does not work
* nslcd is running but the init script thinks that it isn't
* In the Journal, there are such lines:
Jun 02 18:53:54 munin-de systemd[1]: Stopping LSB: LDAP connection daemon...
Jun 02 18:53:54 munin-de nslcd[2354]: * Stopping LDAP connection daemon nslcd
Jun 02 18:53:54 munin-de nslcd[2354]: ...done.
Jun 02 18:53:54 munin-de systemd[1]: Stopped LSB: LDAP connection daemon.
Jun 02 18:53:54 munin-de systemd[1]: Starting LSB: LDAP connection daemon...
Jun 02 18:53:54 munin-de nslcd[613]: caught signal SIGTERM (15), shutting down
Jun 02 18:53:54 munin-de nslcd[2382]: * Starting LDAP connection daemon nslcd
Jun 02 18:53:54 munin-de nslcd[2398]: version 0.9.6 starting
Jun 02 18:53:54 munin-de nslcd[2398]: accepting connections
Jun 02 18:53:54 munin-de nslcd[2382]: ...done.
Jun 02 18:53:54 munin-de systemd[1]: Started LSB: LDAP connection daemon.
Jun 02 18:53:54 munin-de nslcd[613]: version 0.9.6 bailing out
There is a Debian bug with exactly the same manifestation, maybe the fix needs to be backported to Ubuntu?
https:/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: nslcd 0.9.6-3
ProcVersionSign
Uname: Linux 3.13.0-52-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
Date: Thu Jun 2 18:57:56 2016
ProcEnviron:
LANGUAGE=en_US:en
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: nss-pam-ldapd
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in nss-pam-ldapd (Debian): | |
status: | Unknown → Fix Released |
Applying this patch (same as used by Debian) to the init script helps:
https:/ /arthurdejong. org/viewvc/ nss-pam- ldapd/debian/ nss-pam- ldapd/trunk/ debian/ nslcd.init? view=patch& r1=2136& r2=2148& sortby= file