From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Rcqtz-0000kB-CU for garchives@archives.gentoo.org; Tue, 20 Dec 2011 04:02:07 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 977B321C038; Tue, 20 Dec 2011 04:01:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 492F321C038 for ; Tue, 20 Dec 2011 04:01:55 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C22001B400B for ; Tue, 20 Dec 2011 04:01:54 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id C278180042 for ; Tue, 20 Dec 2011 04:01:53 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: Subject: [gentoo-commits] proj/openrc:master commit in: init.d/, sh/ X-VCS-Repository: proj/openrc X-VCS-Files: init.d/sysfs.in sh/runscript.sh.in X-VCS-Directories: init.d/ sh/ X-VCS-Committer: WilliamH X-VCS-Committer-Name: William Hubbs X-VCS-Revision: ed4605bf9ff63effe0d09811a3e708d5e3a75378 Date: Tue, 20 Dec 2011 04:01:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: dcd8eb62-b98b-424c-a536-da141194a626 X-Archives-Hash: fe5c5b712ab5ae51f3937c331a48c495 commit: ed4605bf9ff63effe0d09811a3e708d5e3a75378 Author: William Hubbs gentoo org> AuthorDate: Tue Dec 20 03:54:53 2011 +0000 Commit: William Hubbs gentoo org> CommitDate: Tue Dec 20 03:54:53 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/openrc.git;a=3D= commit;h=3Ded4605bf 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=3Dopenrc \ - # openrc /sys/fs/cgroup/openrc } =20 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=3Dtrue mark_service_inactive fi - if [ "$RC_UNAME" =3D Linux ]; then - local cgroup=3D/sys/fs/cgroup/openrc - local svc_cgroup=3D${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 \