[Planetlab-devel] changing /etc/init.d/halt inside a vserver
Andy Bavier
acb at CS.Princeton.EDU
Thu Oct 29 08:03:38 EST 2009
Hi,
As I already mentioned on this list, the util-vserver-pl package for
the 2.6.27 PlanetLab kernel has been changed so that it is primarily a
wrapper for util-vserver. One problem I have seen with this approach
occurs when a vserver is shut down and "/etc/init.d/halt" is invoked
within the vserver. The vserver reference image appears to contain a
standard Fedora halt script that does things like unmount filesystems.
Invoking this within a vserver has a number of drawbacks: it's really
slow; it generates a lot of error messages, since it tries to perform
actions for which the vserver doesn't have permission; and it appears
to be related to a bug I've seen where /proc transitions to a
read-only state.
I would like to replace /etc/init.d/halt inside a vserver with what
appears to be the standard vserver halt script, "killall5 -15". My
question is, what's the cleanest way to do this?
Andy
More information about the Devel
mailing list