Comment 26 for bug 430224

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

Moved this to be an Upstream bug.

I think that the most probably implementation will be that you declare chroots in /etc/init.conf that you wish the init daemon to manage. init will then also look in CHROOT/etc/init for jobs, and record these as belonging to that chroot. All actions on these jobs will first result in the chroot() to the right location.

To figure out still is how to make sure that "start apache" within a chroot, starts the apache within the chroot and not the one outside.

It makes sense that "initctl list" only shows the jobs in your chroot (or the real system).

The difficult bit is going to be dealing with things like events; I think logically events are global (you can only have one udev running) - but this means that "started apache" is an event - and that means chroots won't necessarily work right?