[Bug 652433] Re: Init script dependency error: krb5-kdc starts before slapd

Clint Byrum clint at fewbar.com
Wed Aug 17 17:26:03 UTC 2011


Excerpts from Fede's message of Wed Aug 17 15:27:24 UTC 2011:
> I believe that the proposed solution is not enough.
> 
> $ ls -l rc2.d/
> total 12
> drwxr-xr-x   2 root root 4096 2011-08-17 16:18 ./
> drwxr-xr-x 102 root root 4096 2011-08-17 15:56 ../
> -rw-r--r--   1 root root  677 2011-06-09 21:46 README
> lrwxrwxrwx   1 root root   15 2011-08-09 18:26 S15bind9 -> ../init.d/bind9*
> lrwxrwxrwx   1 root root   15 2011-08-17 16:18 S17slapd -> ../init.d/slapd*
> lrwxrwxrwx   1 root root   27 2011-08-14 14:47 S18krb5-admin-server -> ../init.d/krb5-admin-server*
> lrwxrwxrwx   1 root root   18 2011-08-14 14:47 S18krb5-kdc -> ../init.d/krb5-kdc*
> lrwxrwxrwx   1 root root   21 2011-08-14 17:03 S20libnss-ldap -> ../init.d/libnss-ldap*
> lrwxrwxrwx   1 root root   27 2011-08-09 21:42 S20nfs-kernel-server -> ../init.d/nfs-kernel-server*
> lrwxrwxrwx   1 root root   17 2011-08-11 20:24 S20postfix -> ../init.d/postfix*
> lrwxrwxrwx   1 root root   18 2011-08-11 21:30 S21quotarpc -> ../init.d/quotarpc*
> lrwxrwxrwx   1 root root   13 2011-08-09 21:36 S23ntp -> ../init.d/ntp*
> lrwxrwxrwx   1 root root   18 2011-08-11 21:28 S50netatalk -> ../init.d/netatalk*
> lrwxrwxrwx   1 root root   15 2011-08-09 18:26 S50rsync -> ../init.d/rsync*
> lrwxrwxrwx   1 root root   19 2011-08-09 18:26 S70dns-clean -> ../init.d/dns-clean*
> lrwxrwxrwx   1 root root   18 2011-08-09 18:26 S70pppd-dns -> ../init.d/pppd-dns*
> lrwxrwxrwx   1 root root   21 2011-08-09 18:27 S99grub-common -> ../init.d/grub-common*
> lrwxrwxrwx   1 root root   18 2011-08-09 18:16 S99ondemand -> ../init.d/ondemand*
> lrwxrwxrwx   1 root root   18 2011-08-09 18:16 S99rc.local -> ../init.d/rc.local*
> 
> $ cat /var/log/daemon.log
> ...
> Aug 17 15:56:04 xxx named[944]: running
> Aug 17 15:56:05 xxx kadmind[971]: Can't contact LDAP server while initializing, aborting
> Aug 17 15:56:05 xxx krb5kdc[974]: Can't contact LDAP server - while initializing database for realm XXX.XXX
> ...
> 
> Could this be related to the fact that when the KDC complains and stops
> the server has not yet received its (static) IP address from the DHCP
> server? In any case adding a line in /etc/hosts does not help.
> 

Its entirely possible, especially if you've specified the hostname of
the server and it is bound to that specific IP.

Oneiric includes a fix that delays runlevel 2 until all interfaces in
/etc/network/interfaces are available. I'm not sure if we'll be able to
push that into 10.04, but its at least worth looking into as the solution
is fairly simple, just adding a few new events and jobs.

See bug #580319 for more info on that.

Anyway, this sounds like that bug.. which affects pretty much all services
that start on runlevel 2 and might be addressed by a specific IP.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to krb5 in Ubuntu.
https://bugs.launchpad.net/bugs/652433

Title:
  Init script dependency error: krb5-kdc starts before slapd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/krb5/+bug/652433/+subscriptions



More information about the Ubuntu-server-bugs mailing list