[2877] in Kerberos-V5-bugs
krb5-libs/548: Replay cache temporary directory
daemon@ATHENA.MIT.EDU (ghudson@MIT.EDU)
Thu Feb 12 22:55:21 1998
Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: krb5-unassigned@RT-11.MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, ghudson@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
>Number: 548
>Category: krb5-libs
>Synopsis: Replay cache temporary directory is selected wrong
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: krb5-unassigned
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Thu Feb 12 22:55:00 EST 1998
>Last-Modified:
>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:
>Unformatted: