[2704] in Kerberos-V5-bugs

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

krb5-misc/400: send-pr portability problems

daemon@ATHENA.MIT.EDU (tlyu@MIT.EDU)
Wed Mar 19 17:32:08 1997

Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: krb5-unassigned@RT-11.MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, tlyu@MIT.EDU
Date: Wed, 19 Mar 1997 17:26:39 -0500
From: tlyu@MIT.EDU
Reply-To: tlyu@MIT.EDU
To: krb5-bugs@MIT.EDU


>Number:         400
>Category:       krb5-misc
>Synopsis:       send-pr portability problems
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    krb5-unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Wed Mar 19 17:27:00 EST 1997
>Last-Modified:
>Originator:     Tom Yu
>Organization:
mit
>Release:        1.0-development
>Environment:
	
System: SunOS tesla-coil 5.4 Generic_101945-37 sun4m sparc


>Description:
	send-pr, in the form that we have it in the current tree, has
some hardcoded architecture dependencies in it.  The sequence is
send-pr/send-pr.sh in the GNATS sources becomes
PREFIX/share/gnats/dist/send-pr.sh in GNATS installation, which then
gets mangled by EXEC-PREFIX/bin/mkdist, which is then imported to our
sources.  The problem is that configure gets run *before* send-pr.sh
gets installed in PREFIX/share/gnats/dist/send-pr.sh, and this
includes sets some architecture dependent variables, such as the
MAIL_AGENT, ECHON, and PASSWD, in the send-pr.sh that gets used as
input to mkdist.  This is undoubtedly the wrong behavior.

>How-To-Repeat:
	Try to install krb5-send-pr on e.g. a system that needs ypcat
instead of 'cat /etc/passwd' to list the passwd file, etc.

>Fix:
	We probably want to run a patch back to Cygnus at some point,
but right now we can add the tests that end up setting these variables
directly to the send-pr.sh that we have in our sources.
>Audit-Trail:
>Unformatted:

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