You can only have one init daemon on a system, so having a separate
Upstart per-chroot doesn't work - the prime system's init daemon would
get the SIGCHLDs, etc.  (unless you use pid namespaces and a kernel
patch that Lennart once wrote to redirect init behaviour to other pids)

For me, the right solution would be that the init daemon could be made
aware of chroots, e.g. through a config file.  It'd then read the
/etc/init directory inside the chroot, and manage those jobs along-side
those in the real system - just automatically chrooting before
processing the job.

The only thing missing there is some way to determine *which* job you
mean; since it wouldn't be obvious to Upstart which chroot the "initctl"
command was being run from

-- 
misc: packages cannot be upgraded in a chroot
https://bugs.launchpad.net/bugs/430224
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to