Subject: Re: kern/36130: Unkillable stackable filesystems
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Antti Kantee <pooka@cs.hut.fi>
List: netbsd-bugs
Date: 04/10/2007 06:40:03
The following reply was made to PR kern/36130; it has been noted by GNATS.

From: Antti Kantee <pooka@cs.hut.fi>
To: gnats-bugs@NetBSD.org
Cc: netbsd-bugs@netbsd.org
Subject: Re: kern/36130: Unkillable stackable filesystems
Date: Tue, 10 Apr 2007 09:37:37 +0300

 On Tue Apr 10 2007 at 00:15:01 +0000, juan@mail.xtrarom.org wrote:
 > 	I was building a new livecd with mklivecd, my setup
 > 	currently has the following mount points:
 > 
 > 	/usr/pkgsrc is union mounted from /sources/x/pkgsrc (local)
 > 	/usr/pkgsrc/packages is union mounted from /export/packages (local)
 > 
 > 	Specifically:
 > 
 > 	/dev/xbd1a on /sources type ffs (soft dependencies, NFS exported, local)
 > 	/dev/xbd1b on /export type ffs (soft dependencies, NFS exported, local)
 > 	/dev/xbd2a on /sources/x type ffs (soft dependencies, NFS exported, local)
 > 	<above>:/sources/x/pkgsrc on /usr/pkgsrc type union (hidden, local)
 > 	<above>:/export/packages on /usr/pkgsrc/packages type union (hidden, local)
 > 
 > 	So what mklivecd does is:
 > 
 > 	mount_null /usr/pkgsrc /blah
 > 	mount_null /usr/pkgsrc/distfiles /blah/distfiles
 > 	[the process is hanged and unkillable]
 > 
 > 	The mount_null command shows the state "unionall".
 
 I couldn't repeat it on 4.99.16.  Either I'm missing some essential
 step or it doesn't exist there.  But that look like such a scary setup
 that I would expect the problem to exist ;)
 
 Can narrow it down to a step-by-step command list for freshly booted box?
 
 -- 
 Antti Kantee <pooka@iki.fi>                     Of course he runs NetBSD
 http://www.iki.fi/pooka/                          http://www.NetBSD.org/
     "la qualité la plus indispensable du cuisinier est l'exactitude"