Re: Bug#475626: nss-ldapd init script sequence number

2008-04-30 Thread Petter Reinholdtsen
[Arthur de Jong] > However to solve the problem that nslcd should be started before mail > servers I would like to add: > Provides: $named > at least exim and postfix have a Required-Start for this) but the > description on http://wiki.debian.org/LSBInitScripts suggests that > such a provides sh

Re: Bug#475626: nss-ldapd init script sequence number

2008-04-30 Thread Arthur de Jong
On Mon, 2008-04-28 at 16:38 +0200, Petter Reinholdtsen wrote: > This is exactly the kind of problems the dependency based boot > sequencing is supposed to solve. [...] I have added: Should-Start: slapd to fix the problem that nslcd should be started after slapd. However to solve the problem th

Re: Bug#475626: nss-ldapd init script sequence number

2008-04-28 Thread Petter Reinholdtsen
[Arthur de Jong] > So, what would the best solution for this problem? > > - request slapd to be started at sequence 18 and start nslcd at > sequence 19 when this has changed (haven't extensively checked if that > would cause problems for slapd) > - add some magic to nslcd to do more retries du

nss-ldapd init script sequence number

2008-04-28 Thread Arthur de Jong
Hi, I maintain nss-ldapd, a replacement for nss_ldap which uses a local daemon (nslcd) to proxy name lookup requests (passwd/group/hosts/etc) to an LDAP server. I have received a bug report (#475626) that I would welcome some input on. The problem is that a lot of daemons are started at sequenc