From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/openrc:master commit in: init.d/, sh/
Date: Tue, 20 Dec 2011 04:01:53 +0000 (UTC) [thread overview]
Message-ID: <ed4605bf9ff63effe0d09811a3e708d5e3a75378.WilliamH@gentoo> (raw)
commit: ed4605bf9ff63effe0d09811a3e708d5e3a75378
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 20 03:54:53 2011 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Dec 20 03:54:53 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=ed4605bf
cgroups: remove references to the "openrc" cgroup
Openrc will set up cgroups the way the kernel documentation recommends.
---
init.d/sysfs.in | 5 -----
sh/runscript.sh.in | 13 -------------
2 files changed, 0 insertions(+), 18 deletions(-)
diff --git a/init.d/sysfs.in b/init.d/sysfs.in
index cb44b30..8838213 100644
--- a/init.d/sysfs.in
+++ b/init.d/sysfs.in
@@ -85,11 +85,6 @@ mount_cgroups()
;;
esac
done < /proc/cgroups
-
- # mkdir /sys/fs/cgroup/openrc
- # mount -t cgroup \
- # -o nodev,noexec,nosuid,name=openrc \
- # openrc /sys/fs/cgroup/openrc
}
start()
diff --git a/sh/runscript.sh.in b/sh/runscript.sh.in
index 07f96d8..b738b89 100644
--- a/sh/runscript.sh.in
+++ b/sh/runscript.sh.in
@@ -131,19 +131,6 @@ start()
service_inactive && _inactive=true
mark_service_inactive
fi
- if [ "$RC_UNAME" = Linux ]; then
- local cgroup=/sys/fs/cgroup/openrc
- local svc_cgroup=${cgroup}/${RC_SVCNAME}
- if mountinfo -q ${cgroup}; then
- mkdir ${svc_cgroup}
- for f in cpuset.cpus cpuset.mems; do
- if [ -f ${cgroup}/${f} ]; then
- cp ${cgroup}/${f} ${svc_cgroup}
- fi
- done
- echo $$ > ${svc_cgroup}/tasks
- fi
- fi
eval start-stop-daemon --start \
--exec $command \
${procname:+--name} $procname \
next reply other threads:[~2011-12-20 4:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-20 4:01 William Hubbs [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-04-03 18:05 [gentoo-commits] proj/openrc:master commit in: init.d/, sh/ William Hubbs
2013-02-17 2:49 William Hubbs
2012-02-20 23:11 William Hubbs
2012-01-28 18:32 Christian Ruppert
2012-01-22 18:00 William Hubbs
2011-11-19 0:05 William Hubbs
2011-10-16 23:02 Mike Frysinger
2011-07-05 23:42 William Hubbs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ed4605bf9ff63effe0d09811a3e708d5e3a75378.WilliamH@gentoo \
--to=williamh@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox