Subject: Re: cgd root [was Re: enabling cgd by default]
To: None <tech-kern@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-kern
Date: 08/08/2007 11:59:11
>>> As for root on cgd, are you aware of the init.root sysctl?
>> Um...no?  [where is it?]
> See the init(8) man page in -current.  After running the outer
> /etc/rc in the usual way, init checks whether the init.root sysctl
> node has been changed; if it was changed, then init runs the inner
> /etc/rc in the chroot, and then enters multiuser mode with all child
> processes running in the chroot.  [To use this, ...]

If this does what the code looks as though it will to single-user boots
(strands you in the teensy cleartext root) it won't be acceptable for
what I want.

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B