[krbdev.mit.edu #3277] doubled kerberos logging to stderr

Ken Raeburn via RT rt-comment at krbdev.mit.edu
Wed Dec 7 05:13:01 EST 2005


On Dec 7, 2005, at 02:38, Denis Vlasenko via RT wrote:
> On Wednesday 07 December 2005 02:01, Tom Yu via RT wrote:
>> While the error message is somewhat unhelpful, I suspect that the
>> actual error is that fdopen(fileno(stderr)) is failing for some
>> reason.  Fredrik Tolf, in a message to the kerberos mailing list,
>> appears to have discovered the actual reason for the doubled logs,
>> which is a configuration file being read twice under some
>
> It doesn't seem to be the case:

Actually, I think some of the code we've put into the profile library  
would prevent the file from being read twice if the stat data  
indicated it hadn't changed, even if the profile file names  
($KRB5_CONFIG or compiled-in) listed the same file twice.  The file  
would be read once, but its data would be used twice.

I'd be interested in seeing what profile_init is called with.

Ken



More information about the krb5-bugs mailing list