Skip Menu |
 

Date: Thu, 28 Jul 2016 08:05:40 +1000 (AEST)
From: David Shrimpton <d.shrimpton@its.uq.edu.au>
To: krb5-bugs@mit.edu
Subject: Date/hostname not logged for some log messages
Download (untitled) / with headers
text/plain 1.4KiB
Hi,

Following log extract shows date and hostname not logged for a
log message , which is inconsistent with the logging of date/time
for other messages and makes the message appear as a continuation
of previous message.

This was on 1.14.3 on EL6 linux . Logging is set in krb5.conf
to FILE:


Note: the kdc.conf has kdc_tcp_ports = ""
to disable tcp .

On startup krb5kdc logs:

Jul 27 16:12:38 myhostname krb5kdc[26223](info): setting up network...
Jul 27 16:12:38 myhostname krb5kdc[26223](info): listening on fd 7: udp 0.0.0.0.88 (pktinfo)
krb5kdc: Address family not supported by protocol - Cannot create TCP server socket on ::.88
Jul 27 16:12:38 myhostname krb5kdc[26223](info): set up 1 sockets
Jul 27 16:12:38 myhostname krb5kdc[26226](info): commencing operation

strace shows a call to socket to match the "::.88" log entry:

socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = -1 EAFNOSUPPORT (Address family not supported by protocol)
write(3, "krb5kdc: Address family not supp"..., 93) = 93



There is no time and date on the "krb5kdc: Address family not supported ..."
log line

strace shows:

write(3, "krb5kdc: Address family not supp"..., 93)

v earlier log entry

write(3, "Jul 27 16:11:31

I think this is intended to be a separate log line and not part of the previous line
and should have time and date and hostname.




--
David Shrimpton
Information Technology Services | The University of Queensland