* [gentoo-commits] proj/openrc:openrc-0.9.8.x commit in: init.d/
@ 2012-01-30 16:15 99% William Hubbs
0 siblings, 0 replies; 1+ results
From: William Hubbs @ 2012-01-30 16:15 UTC (permalink / raw
To: gentoo-commits
commit: cc8a9cdab9ff5bb17fc0d49fc130ed7cd9510464
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 27 17:14:50 2012 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Jan 30 15:45:49 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=cc8a9cda
Cgroups: do not update mtab when mounting control groups
This is based on a patch submitted by the reporter; however, there was
another mount command which needed -n as well so it was added to the
patch.
Reported-by: Ben Kohler <bkohler <AT> gmail.com>
X-Gentoo-Bug: 400967
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=400967
---
init.d/sysfs.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/init.d/sysfs.in b/init.d/sysfs.in
index 7021feb..68a71c6 100644
--- a/init.d/sysfs.in
+++ b/init.d/sysfs.in
@@ -82,7 +82,7 @@ mount_cgroups()
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
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2012-01-30 16:15 99% [gentoo-commits] proj/openrc:openrc-0.9.8.x commit in: init.d/ William Hubbs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox