how to make sure slapd is started before krb5-kdc
Hi,
currently, krb5-kdc fails on startup because it needs slapd
running. From /etc/rc2.d:
S03krb5-admin-server
S03krb5-kdc
S03slapd
As Petter told me on IRC, you can add
# Should-Start: slapd
# Should-Stop: slapd
to the header of /etc/init.d/krb5-kdc and probably something like:
# Should-Start: krb5-kdc
# Should-Stop: krb5-kdc
to /etc/init.d/krb5-admin-server (and recreate the ordering).
The question is: How to do that properly? It would be nice to have
that in the kdc-package, but that makes no sense if kdc uses its own
database.
So do we need to add this lines by ourselves during install, or is
there a more elegant way?
Regards,
Andi
Reply to: