Subject: bin/1715: login(1) should be statically linked.
To: None <>
From: matthew green <>
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
>Originator:     matthew green
bozotic softwar foundation
>Release:        1/11/95
System: NetBSD 1.1_ALPHA NetBSD 1.1_ALPHA (_splode_) #267: Sun Oct 29 23:54:05 EST 1995 sparc


	/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.


LDSTATIC=-static in src/usr.bin/login/Makefile