Subject: kern/397: portal filesystem mungles the fs of its mount point
To: None <gnats-admin>
From: Martin Husemann <martin@euterpe.owl.de>
List: netbsd-bugs
Date: 08/07/1994 01:20:06
>Number:         397
>Category:       kern
>Synopsis:       the fs hosting a portal fs will not fsck clean
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gnats-admin (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug  7 01:20:05 1994
>Originator:     Martin Husemann
>Organization:
private
>Release:        -current
>Environment:

System: NetBSD euterpe.owl.de 1.0_BETA NetBSD 1.0_BETA (EUTERPE) #0: Thu Jul 28 15:45:19 MET DST 1994 root@euterpe.owl.de:/usr/src/sys/arch/i386/compile/EUTERPE i386

>Description:

A portal filesystem mounted to /p prevents the root filesystem from being 
fsck'd clean. Unmounting /p will fix this. Somehow this propagated semi-
permanently, so fsck at boottime would barf (although /p isn't mounted then)
and try to fix it. It confused me a bit, which resulted in the completely
bogus kern/395 bug report.

>How-To-Repeat:

Use this as /etc/portal.conf:
# portal.conf
tcp/	tcp tcp/

and try:

fsck -n /dev/rsd0a    (should be ok)
mount -t portal /etc/portal.conf /p
fsck -n /dev/rsd0a    (gives unref'd file)
umount /p
fsck -n /dev/rsd0a    (should be ok again)

>Fix:
	
>Audit-Trail:
>Unformatted:


------------------------------------------------------------------------------