[2847] in Kerberos-V5-bugs
pty/519: WITH_OPENPTY under *BSD
daemon@ATHENA.MIT.EDU (David McNab)
Tue Dec 30 14:55:29 1997
Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: hartmans@MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, mcnab@nas.nasa.gov
Date: Tue, 30 Dec 1997 11:51:44 -0800 (PST)
From: David McNab <mcnab@aargh.nas.nasa.gov>
Reply-To: mcnab@nas.nasa.gov
To: krb5-bugs@MIT.EDU
>Number: 519
>Category: pty
>Synopsis: WITH_OPENPTY doesn't get defined under {Free,Net}BSD
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: hartmans
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Tue Dec 30 14:55:01 EST 1997
>Last-Modified:
>Originator: David McNab
>Organization:
NAS Parallel Systems, MRJ at NASA/Ames
>Release: krb5-1.0.4
>Environment:
System: NetBSD aargh 1.2G NetBSD 1.2G (AARGH) #4: Fri Oct 10 15:45:58 PDT 1997 root@aargh:/usr/src/sys/arch/i386/compile/AARGH i386
>Description:
Out of the box, using 'configure' and then building with
make or GNU make, Kerberos produces klogind and telnetd
binaries that are unable to allocate pty's for incoming
connections. This happens on FreeBSD 2.2.5 and NetBSD 1.2
and 1.3. The source contains code that does the right thing
if WITH_OPENPTY is defined (which it should be on these
systems), but the config stuff doesn't set the variable.
>How-To-Repeat:
Unpack the source, configure, and build under one an OS listed
above.
>Fix:
Modify the Makefile in ./src/util/pty so that WITH_OPENPTY
is set by hand. Make clean in that directory, and rebuild
the whole package from the top. The binaries that are
generated work fine.
>Audit-Trail:
>Unformatted: