summaryrefslogtreecommitdiffstats
path: root/main/util-vserver/init-script.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/util-vserver/init-script.patch')
-rw-r--r--main/util-vserver/init-script.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/util-vserver/init-script.patch b/main/util-vserver/init-script.patch
new file mode 100644
index 000000000..2bfd40a9a
--- /dev/null
+++ b/main/util-vserver/init-script.patch
@@ -0,0 +1,11 @@
+--- util-vserver-0.30.216-pre2994.orig/gentoo/util-vserver
++++ util-vserver-0.30.216-pre2994/gentoo/util-vserver
+@@ -58,7 +58,7 @@
+ $__PKGLIBDIR/bash-wrapper 'hasCgroup'
+ if [ $? -eq 0 ]; then
+ ebegin "Mounting cgroup-hierarchy"
+- $__PKGLIBDIR/bash-wrapper '_generateCgroupOptions; test -n "$CGROUP_MNT" || exit 0; $_MKDIR -p "$CGROUP_MNT"; $_MOUNT -t cgroup -o "$CGROUP_SUBSYS" vserver "$CGROUP_MNT"'
++ $__PKGLIBDIR/bash-wrapper '_generateCgroupOptions; test -n "$CGROUP_MNT" || exit 0; $_MKDIR -p "$CGROUP_MNT"; IFS=","; $_MOUNT -t cgroup -o "${CGROUP_SUBSYS[*]}" vserver "$CGROUP_MNT"'
+ eend $?
+ fi
+ }