FS#24921 - [krb5] Filenames of rc scripts and /etc/krb5/ not used
Attached to Project:
Arch Linux
Opened by CC (ccom) - Tuesday, 28 June 2011, 10:07 GMT
Last edited by Stéphane Gaudreault (stephane) - Thursday, 30 June 2011, 18:17 GMT
Opened by CC (ccom) - Tuesday, 28 June 2011, 10:07 GMT
Last edited by Stéphane Gaudreault (stephane) - Thursday, 30 June 2011, 18:17 GMT
|
Details
The rc-scripts have the extension ".rc" which Arch packages
generally do not have.
|
This task depends upon
Closed by Stéphane Gaudreault (stephane)
Thursday, 30 June 2011, 18:17 GMT
Reason for closing: Fixed
Additional comments about closing: krb5-1.9.1-2 in [testing]
Thursday, 30 June 2011, 18:17 GMT
Reason for closing: Fixed
Additional comments about closing: krb5-1.9.1-2 in [testing]
there seems to be another problem: the krb5 package installs all configuration files into the /etc/krb5 directory, but krb5 doesn't use it, i.e., no modifications in /etc/krb5/krb5.conf or /etc/kdc.conf -- which contain wrong defaults -- show any effect. Grepping the binaries, it seems like krb5 is configured to use "/etc/krb5.keytab" and kdc to use "/var/lib/krb5kdc".
Thanks,
ccom
1) krb5 always looks for /etc/krb5.conf first (I still had Heimdal's version there)
2) sysconfdir is only used for krb5.conf, not for kdc.conf
3) kdc.conf is looked for in localstatedir
Hence, I suggest using /etc/krb5.conf instead of /etc/krb5/krb5.conf, and just using the current /var/lib/krb5kdc/ for kdc.conf; the package needs to create /var/lib/krb5kdc anyway.
Thanks,
ccom
/etc/krb5/kdc.conf => /var/lib/krb5kdc/kdc.conf
/etc/krb5/krb5.conf => /etc/krb5.conf
/etc/rc.d/kadmind.rc => /etc/rc.d/krb5-kadmind
/etc/rc.d/krb5-kdc.rc => /etc/rc.d/krb5-kdc