After merging mit-krb5 (1.5.2), config file kdc.conf (for KDC obviously) doesn't reside in /etc/ , contrary to his example counterpart, kdc.conf.example. It leads to much trouble (on the user's side) when configuring krb5kdc daemon, since copying and editing the kdc.conf.example file to /etc/kdc.conf won't affect krb5kdc configuration, and in turn, will fall back to default configuration, without much warning. Besides, man kdc.conf(5) specifies its default path to /usr/local/var/krb5kdc/kdc.conf , which is correct in a traditional make && make install, as autotools sets it to (see src/include/stock/osconf.h): #define DEFAULT_KDC_PROFILE "@LOCALSTATEDIR/krb5kdc/kdc.conf" which points to /var/lib/krb5kdc after merge (for gentoo). Steps to reproduce (always): 1) emerge mit-krb5-1.5.2 2) edit or copy /etc/kdc.conf.example , and save as /etc/kdc.conf 3) create a database: kdb5_util -s create 4) check that the krbV database wasn't created in respect to /etc/kdc.conf Since the correct path to kdc.conf is /var/lib/krb5kdc/kdc.conf , I just create a symlink accordingly in ebuild: --- mit-krb5-1.5.2.ebuild 2007-02-21 01:35:21.000000000 +0100 +++ mit-krb5-1.5.2.ebuild.2 2007-02-21 01:35:13.000000000 +0100 @@ -89,6 +89,8 @@ newins ${D}/usr/share/doc/${PF}/examples/krb5.conf krb5.conf.example newins ${D}/usr/share/doc/${PF}/examples/kdc.conf kdc.conf.example + dosym /etc/kdc.conf /var/lib/krb5kdc/kdc.conf + } pkg_postinst() { Dunno if it's the good behaviour though :)
*** This bug has been marked as a duplicate of bug 115443 ***