Subject: Re: Help - Wrecked System
To: Ian Harding <ianh@tpchd.org>
From: Frederick Bruckman <fredb@immanent.net>
List: port-i386
Date: 01/11/2003 12:43:27
On Sat, 11 Jan 2003, Ian Harding wrote:

> I think I remember something now....
>
> I added svscan.sh to /etc (stupid, I think for more than one reason)
> which is symlinked to /usr which is in critical_filesystems but not
> in before_net.  If svscan.sh got rcordered before the network
> started (and before the critical_filesystems got mounted, wouldn't
> the fact that it existed in an umounted filesystem cause this kind
> of disaster?

You mean you dropped it into "/etc/rc.d"?

> I am going to change it, but thought I would throw this out.  It's
> an awfully easy way to bork a system, if it's true.

That's because rc scripts that end in ".sh" are sourced into the "rc"
shell, rather than exec'd. If you renamed it to "svscan", it wouldn't
do that.

Frederick