[Planetlab-devel] changing /etc/init.d/halt inside a vserver
Barış Metin
baris at metin.org
Thu Oct 29 11:26:36 EST 2009
Hi Andy,
I suppose we can use the vserver.post script:
http://svn.planet-lab.org/svn/build/trunk/config.planetlab/vserver.post
On Thu, Oct 29, 2009 at 2:03 PM, Andy Bavier <acb at cs.princeton.edu> wrote:
> 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
>
> _______________________________________________
> Devel mailing list
> Devel at lists.planet-lab.org
> https://lists.planet-lab.org/mailman/listinfo/devel
>
--
Baris
More information about the Devel
mailing list