Add a patch to 'halt' that will shutdown all the processes within contexts
authorStephen Soltesz <soltesz@cs.princeton.edu>
Wed, 7 May 2008 18:37:43 +0000 (18:37 +0000)
committerStephen Soltesz <soltesz@cs.princeton.edu>
Wed, 7 May 2008 18:37:43 +0000 (18:37 +0000)
commit2a018def41260698fb3042da2e33ae49efcecdc5
tree79a3564ac9c1a2e64dedf20a25fe4cbc48453f09
parentce2abfaecdd9eaa0b460c4221a154fd67fe9a2e8
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/<slicename>/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.
config.planetlab/bootstrapfs.post