upstart as init in a chroot
Scott James Remnant
scott at netsplit.com
Sun Mar 25 18:37:44 BST 2007
On Sun, 2007-03-25 at 10:41 -0400, Brian J. Murrell wrote:
> I would like to run upstart's init as "init" (not re-exec'd to telinit)
> in a chroot. Here's the premise... I have a chroot of feisty that I
> built with debootstrap. What I'd like to do now is:
>
> # chroot /mnt/feisty /sbin/init
>
> So that the chroot environment starts and runs like a regular linux
> system.
>
This is not possible.
Upstart relies on being process #1 for various features to work, and
expects to be granted the special handling that the kernel gives to that
process.
In the future, we may allow for "stripped down" handling; without
various useful features, possibly by communication with the real init,
but this isn't on the cards any time soon.
Scott
--
Have you ever, ever felt like this?
Had strange things happen? Are you going round the twist?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/upstart-devel/attachments/20070325/0152a34a/attachment-0001.pgp
More information about the upstart-devel
mailing list