[1044] in arla-drinkers

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

small patch for Arla 0.27

daemon@ATHENA.MIT.EDU (Chris Wing)
Tue Aug 3 17:53:06 1999

From owner-arla-drinkers@stacken.kth.se Tue Aug 03 21:53:06 1999
Return-Path: <owner-arla-drinkers@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 3918 invoked from network); 3 Aug 1999 21:53:05 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
  by bloom-picayune.mit.edu with SMTP; 3 Aug 1999 21:53:05 -0000
Received: (from majordom@localhost)
	by sundance.stacken.kth.se (8.8.8/8.8.8) id XAA17799
	for arla-drinkers-list; Tue, 3 Aug 1999 23:48:06 +0200 (MET DST)
Received: from axp1.engin.umich.edu (axp1.engin.umich.edu [141.212.32.122])
	by sundance.stacken.kth.se (8.8.8/8.8.8) with ESMTP id XAA17795
	for <arla-drinkers@stacken.kth.se>; Tue, 3 Aug 1999 23:48:01 +0200 (MET DST)
Received: from localhost (wingc@localhost)
	by axp1.engin.umich.edu (8.9.3/8.9.3) with ESMTP id RAA00791
	for <arla-drinkers@stacken.kth.se>; Tue, 3 Aug 1999 17:47:58 -0400
X-Authentication-Warning: axp1.engin.umich.edu: wingc owned process doing -bs
Date: Tue, 3 Aug 1999 17:47:58 -0400 (EDT)
From: Chris Wing <wingc@engin.umich.edu>
To: arla-drinkers@stacken.kth.se
Subject: small patch for Arla 0.27
Message-ID: <Pine.LNX.4.10.9908031706410.731-100000@axp1.engin.umich.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-arla-drinkers@stacken.kth.se
Precedence: bulk

Hi. I made a small patch which fixes some minor issues with klog in
Arla 0.27:

1) Somebody broke the behavior of the -tmp option. (made get_tkt FALSE 
   instead of TRUE). Fixed.


2) mkstemp() from roken creates a unique temporary file and returns the
   name. Previously I had used mktemp(), which returns a unique name only.
   (I originally dealt with the possible race condition by putting the
   ticket files in a directory called /ticket, mode 1733).

   The problem is that if a ticket cannot be gathered (for instance, if
   the wrong password is entered), this temporary file will stick around.

   Fixed so that the ticket file is automatically destroyed if it isn't
   made available to the user.


3) If -setpag is used and the shell cannot be exec()ed, the AFS token will
   stick around in a ghost PAG. Now klog makes sure to remove the token
   in this case.

   (as per the recent discussion about bloating the AFS client with large
   numbers of dead credentials)


4) Minor changes to move all warning messages to use warnx, diet, etc.,
   eliminating fprintf(stderr, ... )


5) Minor changes to warning messages missing whitespace or having
   superfluous newlines



The patch can be found here:

http://www.engin.umich.edu/caen/systems/Linux/code/patches/arla-0.27pre2-klog.patch


Thanks,

Chris Wing
wingc@engin.umich.edu


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