[2299] in Kerberos-V5-bugs
krb5-kdc/63: Re: krb5kdc and kadmind don't syslog properly
daemon@ATHENA.MIT.EDU (John Hawkinson)
Sat Oct 5 19:14:20 1996
Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: krb5-unassigned@RT-11.MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, John Hawkinson <jhawk@bbnplanet.com>
Date: Sat, 5 Oct 1996 19:13:02 -0400
From: John Hawkinson <jhawk@bbnplanet.com>
To: krb5-bugs@MIT.EDU
Note: There was a bad value `sw-bugs' for the field `>Class:'.
It was set to the default value of `sw-bug'.
>Number: 63
>Category: krb5-kdc
>Synopsis: krb5kdc and kadmind don't syslog properly
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: krb5-unassigned
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Sat Oct e 19:14:01 EDT 1996
>Last-Modified:
>Originator: John Hawkinson
>Organization:
BBN Planet
>Release: beta-7
>Environment:
System: SunOS all-purpo 4.1.4 4 sun4m
Architecture: sun4
>Description:
krb5kdc and kadmind syslog incorrectly. They syslog to a bogus
facility, and fail to include their pid and process name.
>How-To-Repeat:
Stumble through setting up kerberos. Check your syslog
file. Observe something like:
Oct 5 15:11:36 liam-gw krb5kdc[88]: PROCESS_V4:UNKNOWN "jhawk/test" ""
Oct 5 15:49:29 liam-gw syslog: Cannot find/read stored master key - while fetching master key K/M for realm BBNPLANET.NET
The first line is from beta 5. The second is from beta 7. See the difference?
Also, "trace" a process while trying to figure out how
it is losing. Observe that the strings it hands to sendto()
start with <13> and <14>. Surprise, that's LOG_USER:
at LOG_KWARNING or LOG_NOTICE.
#define LOG_USER (1<<3) /* random user-level messages */
#define LOG_WARNING 4 /* warning conditions */
#define LOG_NOTICE 5 /* normal but signification condition */
>Fix:
<how to correct or work around the problem, if known (multiple lines)>
>Audit-Trail:
>Unformatted: