]> git.pld-linux.org Git - packages/util-vserver.git/commitdiff
- panic on dynamic context id
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 18 Apr 2006 17:07:44 +0000 (17:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    util-vserver-no-dynamic-ctx.patch -> 1.1

util-vserver-no-dynamic-ctx.patch [new file with mode: 0644]

diff --git a/util-vserver-no-dynamic-ctx.patch b/util-vserver-no-dynamic-ctx.patch
new file mode 100644 (file)
index 0000000..4d4f9d6
--- /dev/null
@@ -0,0 +1,27 @@
+diff -ur util-vserver-0.30.210.orig/scripts/vserver-build util-vserver-0.30.210/scripts/vserver-build
+--- util-vserver-0.30.210.orig/scripts/vserver-build   2006-04-18 18:10:30.000000000 +0200
++++ util-vserver-0.30.210/scripts/vserver-build        2006-04-18 18:37:37.000000000 +0200
+@@ -122,6 +122,9 @@
+     shift
+ done
++test -n "$SETUP_CONTEXT" ||
++    panic $"Dynamic Context IDs not supported (use --context option)"
++
+ test -n "$VSERVER_NAME" ||
+     panic $"Name of vserver not specified"
+diff -ur util-vserver-0.30.210.orig/scripts/vserver.functions util-vserver-0.30.210/scripts/vserver.functions
+--- util-vserver-0.30.210.orig/scripts/vserver.functions       2006-04-18 18:10:30.000000000 +0200
++++ util-vserver-0.30.210/scripts/vserver.functions    2006-04-18 19:04:07.000000000 +0200
+@@ -365,6 +365,10 @@
+     test -z "$S_CONTEXT" || ctx=$S_CONTEXT
++    test -n "$ctx" || panic $"\
++Dynamic Context IDs are not supported, you must set Context ID
++in $vdir/context file"
++
+     _generateCapabilityOptions "$vdir"
+     _generateFlagOptions       "$vdir"
This page took 0.033406 seconds and 4 git commands to generate.