Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.411 (Entity 5.404) X-RT-Original-Encoding: iso-8859-1 Content-Length: 2416 From ghudson@MIT.EDU Thu Feb 12 22:54:51 1998 Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id WAA27662 for ; Thu, 12 Feb 1998 22:54:50 -0500 Received: from SMALL-GODS.MIT.EDU by MIT.EDU with SMTP id AA15854; Thu, 12 Feb 98 22:54:49 EST Received: by small-gods.MIT.EDU (SMI-8.6/4.7) id WAA11971; Thu, 12 Feb 1998 22:54:48 -0500 Message-Id: <199802130354.WAA11971@small-gods.MIT.EDU> Date: Thu, 12 Feb 1998 22:54:48 -0500 From: ghudson@MIT.EDU Reply-To: ghudson@MIT.EDU To: krb5-bugs@MIT.EDU Subject: Replay cache temporary directory X-Send-Pr-Version: 3.99 >Number: 548 >Category: krb5-libs >Synopsis: Replay cache temporary directory is selected wrong >Confidential: no >Severity: non-critical >Priority: medium >Responsible: krb5-unassigned >State: feedback >Class: sw-bug >Submitter-Id: unknown >Arrival-Date: Thu Feb 12 22:55:00 EST 1998 >Last-Modified: Thu Apr 16 23:54:39 EDT 1998 >Originator: Greg Hudson >Organization: MIT >Release: 1.0 >Environment: System: SunOS small-gods 5.5.1 Generic_103640-12 sun4u sparc SUNW,Ultra-1 Architecture: sun4 >Description: src/include/krb5/configure.in looks for a temporary directory for the replay cache by looking on the build machine for /usr/tmp, /var/usr/tmp, /var/tmp, and /tmp. This is a really poor order to look for directories in, since /usr/tmp is a deprecated directory in both the Linux and BSD filesystem hierarchies and /var/usr/tmp is Just Plain Weird, whereas /var/tmp is a standard location in pretty much every modern OS. >How-To-Repeat: Build krb5 on a NetBSD machine which has /usr/tmp symlinked to /var/tmp for compatibility with some broken piece of software. Then use something built against those libraries on a system without the compatibility symlink. Watch yourself lose. >Fix: No patch provided, since the build system has changed so much. Please pull /var/tmp to the front of the search order. >Audit-Trail: State-Changed-From-To: open-feedback State-Changed-By: tlyu State-Changed-When: Thu Apr 16 23:53:18 1998 State-Changed-Why: src/include/krb5/configure.in 1.46 Ok fixed in current sources. The main problem would be on Ultrix-Athena machines that symlink /tmp -> /var/tmp, but that should really get fixed on the few Ultrix machines we have remaining. :-) >Unformatted: