Received: from biscayne-one-station.mit.edu (BISCAYNE-ONE-STATION.MIT.EDU [18.7.7.80]) by krbdev.mit.edu (8.9.3p2) with ESMTP id FAA22575; Wed, 7 Dec 2005 05:12:57 -0500 (EST) Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103]) by biscayne-one-station.mit.edu (8.12.4/8.9.2) with ESMTP id jB7ACtqX025294; Wed, 7 Dec 2005 05:12:55 -0500 (EST) Received: from [18.101.0.226] ([18.101.0.226]) (authenticated bits=0) (User authenticated as raeburn@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.1/8.12.4) with ESMTP id jB7AClRb009981 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT); Wed, 7 Dec 2005 05:12:48 -0500 (EST) In-Reply-To: References: MIME-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <711949FA-A80C-4ADB-8E38-C67E351CA9FF@mit.edu> Content-Transfer-Encoding: 7bit From: Ken Raeburn Subject: Re: [krbdev.mit.edu #3277] doubled kerberos logging to stderr Date: Wed, 7 Dec 2005 05:12:47 -0500 To: rt@krbdev.mit.edu X-Mailer: Apple Mail (2.746.2) X-Spam-Score: 1.217 X-Spam-Level: * (1.217) X-Spam-Flag: NO X-Scanned-BY: MIMEDefang 2.42 RT-Send-Cc: X-RT-Original-Encoding: us-ascii Content-Length: 878 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