Subject: bin/7491: /usr not mounted if its a symlink
To: None <gnats-bugs@gnats.netbsd.org>
From: Martin Husemann <martin@rumolt.teuto.de>
List: netbsd-bugs
Date: 04/28/1999 15:36:23
>Number:         7491
>Category:       bin
>Synopsis:       /usr not mounted if its a symlink
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 28 15:35:01 1999
>Last-Modified:
>Originator:     Martin Husemann
>Organization:
	
>Release:        -current as of 26 of April
>Environment:
	
System: NetBSD rumolt.teuto.de 1.4_BETA NetBSD 1.4_BETA (RUMOLT) #3: Mon Apr 26 23:52:52 MEST 1999 root@rumolt.teuto.de:/a/usr/src/sys-i4b/arch/i386/compile/RUMOLT i386


>Description:

I have /usr a symlink to /a/usr.

When I edited /etc/rc.conf after updating for the first time after 1.3.3,
I found critical_filesystems and didn't put anything in it, as /usr was
handled implicitly - no!

I got /etc/netstart.local failing because /a wasn't mounted, thus /usr/local
stuff couldn't be found and I ended up in single user.

>How-To-Repeat:

s.a.

>Fix:

check for the implicit critical fs being a symlink and traverse that before
calling islocalfs? Do so for every listed fs?
>Audit-Trail:
>Unformatted: