Subject: bin/1715: login(1) should be statically linked.
To: None <gnats-bugs@gnats.netbsd.org>
From: matthew green <mrg@eterna.com.au>
List: netbsd-bugs
Date: 11/02/1995 16:10:56
>Number: 1715
>Category: bin
>Synopsis: login(1) should be statically linked
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: bin-bug-people (Utility Bug People)
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Nov 2 00:35:01 1995
>Last-Modified:
>Originator: matthew green
>Organization:
bozotic softwar foundation
>Release: 1/11/95
>Environment:
System: NetBSD splode.eterna.com.au 1.1_ALPHA NetBSD 1.1_ALPHA (_splode_) #267: Sun Oct 29 23:54:05 EST 1995 mrg@splode.eterna.com.au:/orb/q/build/src/sys/arch/sparc/compile/_splode_ sparc
>Description:
/usr/bin/login is currently a dynamic library on most netbsd platforms.
this gives lots of chances for lossage:
the recent telnetd bug wouldn't have been a problem if login was static.
if you hose your shlibs then you won't be able to get a login when the
system goes multi user -- this has happened to me a couple of times and
i've had to resort to L1-A (sparc) and `boot -s' to recover.
>How-To-Repeat:
>Fix:
LDSTATIC=-static in src/usr.bin/login/Makefile
>Audit-Trail:
>Unformatted: