Debian Bug report logs - #782652
nslcd: Does not start at boot when uri set to DNS

version graph

Package: nslcd; Maintainer for nslcd is Arthur de Jong <[email protected]>; Source for nslcd is src:nss-pam-ldapd (PTS, buildd, popcon).

Reported by: أحمد المحمودي <[email protected]>

Date: Wed, 15 Apr 2015 16:21:07 UTC

Severity: normal

Found in version nss-pam-ldapd/0.9.4-3

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Arthur de Jong <[email protected]>:
Bug#782652; Package nslcd. (Wed, 15 Apr 2015 16:21:11 GMT) (full text, mbox, link).


Acknowledgement sent to أحمد المحمودي <[email protected]>:
New Bug report received and forwarded. Copy sent to Arthur de Jong <[email protected]>. (Wed, 15 Apr 2015 16:21:11 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: أحمد المحمودي <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: nslcd: Does not start at boot when uri set to DNS
Date: Wed, 15 Apr 2015 18:17:39 +0200
[Message part 1 (text/plain, inline)]
Package: nslcd
Version: 0.9.4-3
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages nslcd depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.56
ii  libc6                  2.19-17
ii  libgssapi-krb5-2       1.12.1+dfsg-19
ii  libldap-2.4-2          2.4.40-4

Versions of packages nslcd recommends:
ii  bind9-host [host]           1:9.9.5.dfsg-9
ii  host                        1:9.9.5.dfsg-9
ii  ldap-utils                  2.4.40-4
ii  libnss-ldapd [libnss-ldap]  0.9.4-3
ii  libpam-ldapd [libpam-ldap]  0.9.4-3
ii  nscd                        2.19-17
ii  nslcd-utils                 0.9.4-3

Versions of packages nslcd suggests:
pn  kstart  <none>

-- Configuration Files:
/etc/network/if-up.d/nslcd changed:
if [ "$IFACE" = lo ] ; then
  exit 0
fi
/usr/bin/pgrep -f ^/usr/sbin/nslcd >/dev/null
if [ $? = 0 ]; then
  exit 0
fi
invoke-rc.d nslcd restart
exit 0


-- debconf information:
  nslcd/ldap-reqcert:
  nslcd/ldap-sasl-realm:
  nslcd/ldap-sasl-authcid:
* nslcd/ldap-starttls: false
  libraries/restart-without-asking: false
  nslcd/ldap-binddn:
  nslcd/xdm-needs-restart:
  nslcd/ldap-sasl-authzid:
  nslcd/restart-services:
  nslcd/disable-screensaver:
* nslcd/ldap-auth-type: none
  nslcd/ldap-cacertfile: /etc/ssl/certs/ca-certificates.crt
  nslcd/ldap-sasl-mech:
  nslcd/ldap-sasl-krb5-ccname: /var/run/nslcd/nslcd.tkt
* nslcd/ldap-uris: DNS
  nslcd/ldap-sasl-secprops:
  nslcd/restart-failed:
* nslcd/ldap-base: dc=varkon-sc,dc=com

-- 
 ‎أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
 GPG KeyID: 0xEDDDA1B7
 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8  B176 BC19 6A94 EDDD A1B7
[signature.asc (application/pgp-signature, inline)]

Information forwarded to [email protected], Arthur de Jong <[email protected]>:
Bug#782652; Package nslcd. (Wed, 15 Apr 2015 16:39:13 GMT) (full text, mbox, link).


Acknowledgement sent to أحمد المحمودي <[email protected]>:
Extra info received and forwarded to list. Copy sent to Arthur de Jong <[email protected]>. (Wed, 15 Apr 2015 16:39:13 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: أحمد المحمودي <[email protected]>
To: [email protected]
Subject: Re: Bug#782652: Acknowledgement (nslcd: Does not start at boot when uri set to DNS)
Date: Wed, 15 Apr 2015 18:36:16 +0200
[Message part 1 (text/plain, inline)]
This bug might be related to #626603

-- 
 ‎أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
 GPG KeyID: 0xEDDDA1B7
 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8  B176 BC19 6A94 EDDD A1B7
[signature.asc (application/pgp-signature, inline)]

Information forwarded to [email protected], Arthur de Jong <[email protected]>:
Bug#782652; Package nslcd. (Thu, 16 Apr 2015 20:30:24 GMT) (full text, mbox, link).


Acknowledgement sent to [email protected]:
Extra info received and forwarded to list. Copy sent to Arthur de Jong <[email protected]>. (Thu, 16 Apr 2015 20:30:24 GMT) (full text, mbox, link).


Message #15 received at [email protected] (full text, mbox, reply):

From: Arthur de Jong <[email protected]>
To: أحمد المحمودي <[email protected]>, [email protected]
Subject: Re: Bug#782652: nslcd: Does not start at boot when uri set to DNS
Date: Thu, 16 Apr 2015 22:29:30 +0200
[Message part 1 (text/plain, inline)]
On Wed, 2015-04-15 at 18:36 +0200, أحمد المحمودي wrote:
> This bug might be related to #626603

It could be related. In general, if nslcd is started before DNS is
available, it can have issues with lookups. The DNS option for uri makes
this especially problematic because a DNS lookup is performed at
start-up (when reading the configuration file) to find the LDAP servers.

I'm not sure if the dependencies in the LSB headers in the init script
are correctly honoured by systemd and I've found that especially when
using network-manager DNS availability during boot it is very
undeterministic.

It would be nicer if nslcd could lookup the SRV records on the first
search (and possibly refresh them once in a while).

Patches welcome ;)

-- 
-- arthur - [email protected] - http://people.debian.org/~adejong --
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 15:34:58 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.