aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.d/sysfs.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.d/sysfs.in b/init.d/sysfs.in
index 8ba988a0..e6921985 100644
--- a/init.d/sysfs.in
+++ b/init.d/sysfs.in
@@ -79,14 +79,14 @@ mount_cgroups()
local agent="@LIBEXECDIR@/sh/cgroup-release-agent.sh"
mkdir /sys/fs/cgroup/openrc
- mount -t cgroup \
+ mount -n -t cgroup \
-o none,nodev,noexec,nosuid,name=openrc,release_agent="$agent" \
openrc /sys/fs/cgroup/openrc
echo 1 > /sys/fs/cgroup/openrc/notify_on_release
while read name hier groups enabled rest; do
case "${enabled}" in
1) mkdir /sys/fs/cgroup/${name}
- mount -t cgroup -o nodev,noexec,nosuid,${name} \
+ mount -n -t cgroup -o nodev,noexec,nosuid,${name} \
${name} /sys/fs/cgroup/${name}
;;
esac