gentoo: do not mess with the cgroup mount at boot time. openrc takes care of this...
authorBenedikt Böhm <bb@xnull.de>
Sat, 18 Feb 2012 13:56:52 +0000 (14:56 +0100)
committerBenedikt Böhm <bb@xnull.de>
Sat, 18 Feb 2012 16:12:25 +0000 (17:12 +0100)
gentoo/util-vserver

index ce9d1ad..3c49ce0 100644 (file)
@@ -23,13 +23,6 @@ start() {
        ebegin "Loading default device map"
        $__PKGLIBDIR/bash-wrapper 'handleDeviceMap --set 0 "$__CONFDIR/.defaults/apps/vdevmap"'
        eend $?
-
-       $__PKGLIBDIR/bash-wrapper 'hasCgroup'
-       if [ $? -eq 0 ]; then
-               ebegin "Mounting cgroup-hierarchy"
-               $__PKGLIBDIR/bash-wrapper 'mount_cgroup'
-               eend $?
-       fi
 }
 
 stop() {
@@ -49,13 +42,6 @@ stop() {
        ebegin "Killing all running contexts"
        $__PKGLIBDIR/bash-wrapper 'kill_contexts'
        eend $?
-
-       $__PKGLIBDIR/bash-wrapper 'hasCgroup'
-       if [ $? -eq 0 ]; then
-               ebegin "Unmounting cgroup-hierarchy"
-               $__PKGLIBDIR/bash-wrapper 'umount_cgroup'
-               eend $?
-       fi
 }
 
 # vim:ts=4:filetype=gentoo-init-d