Subject: Re: PR 36963
To: None <email@example.com>
From: Jan Danielsson <firstname.lastname@example.org>
Date: 09/20/2007 15:54:38
-----BEGIN PGP SIGNED MESSAGE-----
Thor Lancelot Simon wrote:
>>> Oh. That device's aliased outside the chroot, too, in the original /dev.
>>> And init might have a reference to it, too, if it's the console.
>> Does login in via ssh and exiting cause the same changes?
> Hm. Here's a thought: if he's logging in on the console, init might be
> using a a file descriptor bound to the device node _outside_ the chroot.
> I can think of a few ways chaos could then ensue, given subtle bugs in
> the session-handling or device alias detection code...
By "chaos", do you mean "what you are currently seeing", or do you
mean "everything will be fubar Any Time Now"?
> This kind of problem is why I've never been comfortable having init do
> the chroot for this sort of system configuration, FWIW.
Let's for a moment assume that I didn't know it was a bad idea to use
init.root, and let's also assume that I'm kind of stuck with it now. Is
there any hope of fixing it?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (NetBSD)
-----END PGP SIGNATURE-----