about the location of the log file in /etc/krb5.conf

Giuseppe Mazza g.mazza at imperial.ac.uk
Fri Feb 26 06:22:35 EST 2016


Hi there,

I have got the following problem. If I change the location of the
log file in /etc/krb5.conf
from /var/log/krb5kdc.log
to   /var/log/krb5kdc/krb5kdc.log
i.e.
root at mymaster:/var/log# grep krb5kdc /etc/krb5.conf
	kdc = FILE:/var/log/krb5kdc/krb5kdc.log

then the new log file /var/log/krb5kdc/krb5kdc.log is empty.

root at mymaster:/var/log# ls -ld /var/log/krb5kdc
drwxr-xr-x 2 root root 24 Feb 26 09:45 /var/log/krb5kdc
root at mymaster:/var/log# ls -lh /var/log/krb5kdc/krb5kdc.log
-rw-r--r-- 1 root root 0 Feb 25 14:30 /var/log/krb5kdc/krb5kdc.log

In other words I make the change, restart the service krb5-kdc,
I can see entries in "tail -f /var/log/krb5kdc/krb5kdc.log"
coming in, but when I Ctrl-c "tail -f /var/log/krb5kdc/krb5kdc.log"
the file /var/log/krb5kdc/krb5kdc.log is empty.


root at mymaster:/# aptitude show krb5-kdc | grep Version
Version: 1.12+dfsg-2ubuntu5.2

Any idea?

Kind regards,
Giuseppe


More information about the Kerberos mailing list