Description of problem:
While working on test infrastructure for Kerberos5 I came across a weired error:
-- snip --
kadmin.local: Couldn't open log file /var/log/kadmind.log: Permission denied
-- snip --
At first this was confusing because I have a custom KRB5_KDC_PROFILE which explicitly use a script-defined location for such logs and not /var/log/ ...
... after some digging someone on IRC pointed out that kadmin/kadmind and other tools also source KRB5_CONFIG ... or if not present the default location /etc/krb5.conf ... which contained such a reference.
Problem is... this is not documented in the manpage.
Proposed fix:
Add a section "ENVIRONMENT" (like the POSIX manual pages have) to the manpages of the affected utilities (e.g. krb5kdc, kadmin, kadmin.local, kdb5_util, etc.) which lists the environment variables { KRB5_KDC_PROFILE, KRB5_CONFIG, ... }, the order in which they are sourced and the builtin default values if the variables are not set.
Comment 4Fedora Admin XMLRPC Client
2015-09-01 21:35:54 UTC
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Comment 6Fedora End Of Life
2016-07-19 12:08:50 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.
Thank you for reporting this bug and we are sorry it could not be fixed.
Description of problem: While working on test infrastructure for Kerberos5 I came across a weired error: -- snip -- kadmin.local: Couldn't open log file /var/log/kadmind.log: Permission denied -- snip -- At first this was confusing because I have a custom KRB5_KDC_PROFILE which explicitly use a script-defined location for such logs and not /var/log/ ... ... after some digging someone on IRC pointed out that kadmin/kadmind and other tools also source KRB5_CONFIG ... or if not present the default location /etc/krb5.conf ... which contained such a reference. Problem is... this is not documented in the manpage. Proposed fix: Add a section "ENVIRONMENT" (like the POSIX manual pages have) to the manpages of the affected utilities (e.g. krb5kdc, kadmin, kadmin.local, kdb5_util, etc.) which lists the environment variables { KRB5_KDC_PROFILE, KRB5_CONFIG, ... }, the order in which they are sourced and the builtin default values if the variables are not set.