Create a new session before running rc-script.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Sat, 5 Mar 2011 13:45:42 +0000 (13:45 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Sat, 5 Mar 2011 13:45:42 +0000 (13:45 +0000)
commitb30eee53f811b1fa1a4a21f84466ab79c9f422c0
tree5654d2bcacf5402b9f773cdd334febab60e03607
parentaef27fccf1233db3093360db9415bab037b29b4e
Create a new session before running rc-script.

This fixes the problem of killall5 not killing stray processes because
they are in the same session as the shell, if both vserver <guest>
start and vserver <guest> stop are run from the same session.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2939 94cd875c-1c1d-0410-91d2-eb244daf1a30
src/vcontext.c