mirror_lxc/hooks
Scott Moser d24d56d7ee ubuntu-cloud-prep: patch /sbin/start for overlayfs
upstart depends on inotify, and overlayfs does not support inotify.

That means that the following results in 'tgt' not running. tgt is simply
used here as an example of a service that installs an upstart job and
starts it on package install.
 lxc-clone -s -B overlayfs -o source-precise-amd64 -n test1
 lxc-start -n test1
 ..
 apt-get install tgt

The change here is to modify /sbin/start inside the container so that when
something explicitly tries 'start', it results in an explicit call to
'initctl reload-configuration' so that upstart is aware of the newly
placed job.

Should overlayfs ever gain inotify support, this should still not cause
any harm.

Signed-off-by: Scott Moser <smoser@ubuntu.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
2013-08-16 16:05:40 -05:00
..
clonehostname add clonehostname hook 2013-07-10 14:08:43 -05:00
Makefile.am hooks/Makefile.am: add ubuntu-cloud-prep 2013-08-14 09:57:12 -05:00
mountcgroups mountcgroups: use the right configuration file! 2013-08-13 00:06:32 -05:00
mountecryptfsroot Add example hooks from Ubuntu package 2013-02-19 23:34:07 -05:00
ubuntu-cloud-prep ubuntu-cloud-prep: patch /sbin/start for overlayfs 2013-08-16 16:05:40 -05:00