[RFC] new initctl command

Evan Broder evan at ebroder.net
Thu Jun 16 17:13:39 UTC 2011

On Wed, Jun 15, 2011 at 9:47 AM, Scott James Remnant <scott at netsplit.com> wrote:
>  - I would say you should move /proc, /sys & /dev over simply because
> Upstart happens to use two of those, and it makes everyone's lives easier

Right now this is handled (on Ubuntu at least) by init-bottom/udev,
which means you could have a script that runs after /proc, /sys, and
/dev are moved (using initramfs-tools' prereq hook).

In the Ubuntu archive, at least, there are only a handful of scripts
that even ship init-bottom hooks, but it looks like selinux might rely
on the filesystems having moved over. Its init-bottom script does
"chroot ${rootmnt} /sbin/load_policy -i", which seems like it probably
requires at least one of /dev, /sys, or /proc.

Since we're preserving backwards compatibility by continuing to
support the old-style initramfs-tools scripts directories, it seems
like it might be best if this mechanism in particular was still
handled by something that ran before or at the start of the
init-bottom scripts.

- Evan

More information about the upstart-devel mailing list