diff options
Diffstat (limited to 'enable-exec-in-new-partition.patch')
-rw-r--r-- | enable-exec-in-new-partition.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/enable-exec-in-new-partition.patch b/enable-exec-in-new-partition.patch new file mode 100644 index 0000000..fca5bb7 --- /dev/null +++ b/enable-exec-in-new-partition.patch @@ -0,0 +1,11 @@ +--- vserver 2011-04-21 03:09:34.000000000 +0200 ++++ /usr/sbin/vserver 2011-04-21 03:12:45.000000000 +0200 +@@ -208,7 +208,7 @@ + . $__PKGLIBDIR/vserver.functions + + # Enter the namespace early so we can test for files inside the guest +-test "$cmd" != enter -a "$cmd" != stop || \ ++test "$cmd" != enter -a "$cmd" != stop -a "$cmd" != exec || \ + test -n "$OPTION_NONAMESPACE" || isAvoidNamespace "$VSERVER_DIR" || \ + ! isVserverRunning "$VSERVER_DIR" || { + $_VNAMESPACE --enter "$VSERVER_DIR" -- $_VSERVER ----nonamespace "${OPTIONS_ORIG[@]}" |