*BSD News Article 32082


Return to BSD News archive

Xref: sserve comp.os.386bsd.questions:11138 gnu.misc.discuss:15371
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!news.Hawaii.Edu!ames!pacbell.com!ihnp4.ucsd.edu!swrinde!emory!cherry.atlanta.com!nntp.mindspring.com!usenet
From: rsanders@mindspring.com (Robert Sanders)
Newsgroups: comp.os.386bsd.questions,gnu.misc.discuss
Subject: Re: Taylor UUCP on FreeBSD???
Date: 21 Jun 1994 19:50:32 GMT
Organization: MindSpring Enterprises, Inc.
Lines: 25
Message-ID: <RSANDERS.94Jun21155032@hrothgar.mindspring.com>
References: <1994Jun13.040754.17764@kosman.uucp> <2tv1s5$jnn@news.demos.su>
	<2u53jg$rrk@pdq.coe.montana.edu>
	<GOWEN.94Jun21084913@presto.cs.tufts.edu>
	<2u73ti$egn@glitnir.ifi.uio.no>
NNTP-Posting-Host: msdem5.mindspring.com
In-reply-to: kjetilho@ifi.uio.no's message of 21 Jun 1994 16:18:58 GMT

In article <2u73ti$egn@glitnir.ifi.uio.no> kjetilho@ifi.uio.no (Kjetil Torgrim Homme) writes:

   +--- Greg Owen:
   | And on machines with dynamic libs, /bin/sh should be statically
   | linked, etc. etc.

   Why is that? The chances for /lib/libc.so or /bin/sh getting hosed are
   pretty similar...

Well, that's a valid argument on Linux, but FreeBSD (and I suppose
NetBSD) think that shared libraries belong in /usr/lib.  I disagree,
but I'm not a FreeBSD developer.  My roommate installed FreeBSD 1.1G
and one of the first things we did was install bash as /bin/sh because
ash just wouldn't cut several scripts we used.  We were very
unpleasantly surprised by the next reboot; /bin/sh couldn't run
because /usr wasn't mounted (therefore it couldn't load the shared
libraries), and /usr couldn't get mounted because /bin/sh wouldn't run
the rc scripts.  Gack.

We had "forgotten" to link /bin/sh statically.

  -- Robert