[22373] in Kerberos

home help back first fref pref prev next nref lref last post

Re: 1.3.4: kadmin tries to open log file R/W (II)

daemon@ATHENA.MIT.EDU (Mike Friedman)
Fri Sep 3 16:09:11 2004

Date: Fri, 3 Sep 2004 13:06:11 -0700 (PDT)
From: Mike Friedman <mikef@ack.berkeley.edu>
To: Tom Yu <tlyu@mit.edu>
In-Reply-To: <ldv3c1z40rr.fsf@cathode-dark-space.mit.edu>
Message-ID: <Pine.GSO.4.58.0409031258360.11742@ack.Berkeley.EDU>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
cc: kerberos@mit.edu
cc: Sam Hartman <hartmans@mit.edu>
Errors-To: kerberos-bounces@mit.edu

On Fri, 3 Sep 2004 at 15:20 (-0400), Tom Yu wrote:

> Sam> OK, why was Mike seing different behavior with 1.2.8?
>
> The call to krb5_klog_init() isn't in 1.2.8.  It was added in 1.3.x
> because sometimes the server-side kadm5 library attempts to log things,
> and having the logging be uninitialized would cause coredumps.

OK, I guess my questions are all answered.  I would have assumed that the
issue was the shared code between kadmin and kadmin.local, were it not for
the fact that 1.2.7 and earlier releases didn't exhibit this behavior.

At least it is now confirmed that there was a change since 1.2.7 to
account for this.

Fortunately, the new error msg goes to STDERR while the interesting output
is written to STDOUT and, as it turns out, my scripts already route STDERR
to /dev/null.  (I depend on my own error checking).

Thanks for clarifying the situation.

Mike

------------------------------------------------------------------------------
Mike Friedman                             System and Network Security
mikef@ack.Berkeley.EDU                    2484 Shattuck Avenue
1-510-642-1410                            University of California at Berkeley
http://ack.Berkeley.EDU/~mikef            http://security.berkeley.edu
------------------------------------------------------------------------------
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post