Subject: Re: PATCH: init(8) - multiuser under chroot
To: Jachym Holecek <freza@liberouter.org>
From: Daniel Carosone <dan@geek.com.au>
List: tech-userlevel
Date: 05/31/2005 19:25:10
--ISKrrfpKsPiF35CV
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, May 31, 2005 at 11:05:52AM +0200, Jachym Holecek wrote:
> That's an obvious and failsafe approach. The invariant of "single user
> always on real root" prove _very_ useful while testing at the least
> though.

Sure, and if you boot -s, that's where you end up.  Personally, I so
rarely shut *back* down to single user without rebooting that I tend
to even forget it can be done.

Clearly, though, winding somewhere else when you do migh be just as
confusing on the other side.

> > Yeah, it's not like any changes you make at single-user in the md root
> > are going to be permanent.
>=20
> Note that the scheme isn't md-specfic in any way -- you can boot off an
> USB flash disk and migrate to a cgd@wd0 multi-user (ch)root.

That example illustrates exactly where the chroot trick, nice though
it is, falls down: what happens when the flash widget is removed and
real-/ has to detach?  For that reason, you'd use the md.

Point taken, all the same.

--
Dan.

--ISKrrfpKsPiF35CV
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)

iD8DBQFCnC12EAVxvV4N66cRAkk3AJ9SvK7nsoSd+K5KsyBgzWiE2FHumgCgtgGp
0DQoRvVlC1xsxlekUu6GAhk=
=WzJ6
-----END PGP SIGNATURE-----

--ISKrrfpKsPiF35CV--