From: Stephen Soltesz Date: Wed, 7 May 2008 18:37:43 +0000 (+0000) Subject: Add a patch to 'halt' that will shutdown all the processes within contexts X-Git-Tag: 4.2-rc3~32 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=2a018def41260698fb3042da2e33ae49efcecdc5;p=build.git Add a patch to 'halt' that will shutdown all the processes within contexts before everything else. This is necessary because without this, a node would try to shutdown but hang indefinitely with error messages like: umount: /vservers//proc : device is busy umount2: Device or resource busy and finally: INIT : no more processes left in this runlevel But not actually reboot. This patch has worked in an alpha env where the original halt script had failed. --- diff --git a/config.planetlab/bootstrapfs.post b/config.planetlab/bootstrapfs.post index 7105c649..d35618c2 100644 --- a/config.planetlab/bootstrapfs.post +++ b/config.planetlab/bootstrapfs.post @@ -18,3 +18,18 @@ echo > ${vdir}/etc/sysconfig/crontab # Add site_admin account chroot ${vdir} /usr/sbin/useradd -p "" -u 502 -m site_admin +( cat <