[Bug 652433] Re: Init script dependency error: krb5-kdc starts before slapd
Fede
652433 at bugs.launchpad.net
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.
My system runs 10.04
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to krb5 in Ubuntu.
https://bugs.launchpad.net/bugs/652433
Title:
Init script dependency error: krb5-kdc starts before slapd
Status in “krb5” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: krb5-kdc
If Kerberos5 configured to use LDAP directory on the same computer, it does not launches at startup due to init script dependency is not configured. The update-rc.d script creates symlinks for krb5-kdc and slapd with the following names: S18krb5-kdc, S19slapd. This makes Kerberos key distribution center launch before LDAP directory which contains data for this service and I get the following in the /var/log/daemon.log:
krb5kdc[1018]: Can't contact LDAP server - while initializing database for realm MYREALM
I think its no problem to make KDC to start after LDAP server and it
will definitely solve this issue.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/krb5/+bug/652433/+subscriptions
More information about the foundations-bugs
mailing list