upstart as init in a chroot

Brian J. Murrell brian at interlinx.bc.ca
Mon Mar 26 21:16:50 BST 2007


On Sun, 2007-25-03 at 22:23 +0400, Kir Kolyshkin wrote:
> 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.
> >   
> IMHO the best way to do what you want is to use something like OpenVZ.

No, I'm not looking for a virtualization technology.  I want simply run
some daemons (a growing number as I migrate configuration from the
"host" system to the chrooted system) in a chroot, and rather than have
to start them all, one by one from a script in the host, it seemed to
just be more straightforward to start upstart in the chroot and let it
do it's thing.

b.

-- 
My other computer is your Microsoft Windows server.

Brian J. Murrell
-------------- 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/20070326/0ce723fe/attachment-0001.pgp 


More information about the upstart-devel mailing list