From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E6733138821 for ; Wed, 1 Apr 2015 09:29:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A313FE0A03; Wed, 1 Apr 2015 09:29:18 +0000 (UTC) Received: from smarthost01a.mail.zen.net.uk (smarthost01a.mail.zen.net.uk [212.23.1.1]) by pigeon.gentoo.org (Postfix) with ESMTP id 7D328E09E7 for ; Wed, 1 Apr 2015 09:29:17 +0000 (UTC) Received: from [82.69.80.10] (helo=wstn.localnet) by smarthost01a.mail.zen.net.uk with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YdExY-000DOm-Ft for gentoo-user@lists.gentoo.org; Wed, 01 Apr 2015 09:29:16 +0000 From: Peter Humphrey To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] openrc->systemd command comparison Date: Wed, 01 Apr 2015 10:29:15 +0100 Message-ID: <2614501.hT5LJLichC@wstn> Organization: Society for Retired Gentlefolk User-Agent: KMail/4.14.3 (Linux/3.18.9-gentoo; KDE/4.14.3; x86_64; ; ) In-Reply-To: <20150401105315.36219d13@marcec> References: <550787B2.9030809@gmail.com> <1593416.Q7pgZOEiRv@wstn> <20150401105315.36219d13@marcec> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-Originating-smarthost01a-IP: [82.69.80.10] X-Archives-Salt: e316929e-9f15-4afa-a139-fad536e92629 X-Archives-Hash: e5d24651996b884e3a3493c89327cab8 On Wednesday 01 April 2015 10:53:15 Marc Joliet wrote: > Am Wed, 01 Apr 2015 09:43:21 +0100 >=20 > schrieb Peter Humphrey : > > On Wednesday 01 April 2015 02:04:05 Canek Pel=E1ez Vald=E9s wrote: > > > """ > > > # If you have cgroups turned on in your kernel, this switch contr= ols > > > # whether or not a group for each controller is mounted under > > > # /sys/fs/cgroup. > > > [...] > > > # Set this to YES if yu want all of the processes in a service's > > > cgroup > > > # killed when the service is stopped or restarted. > > > # This should not be set globally because it kills all of the > > > service's > > > # child processes, and most of the time this is undesirable. Plea= se > > > set > > > # it in /etc/conf.d/. > > > # To perform this cleanup manually for a stopped service, you can= > > > # execute cgroup_cleanup with /etc/init.d/ cgroup_cleanu= p or > > > # rc-service cgroup_cleanup. > > > # rc_cgroup_cleanup=3D"NO" > > > """ > >=20 > > # grep -i cgroup /usr/src/linux/.config > > CONFIG_CGROUPS=3Dy > > # CONFIG_CGROUP_DEBUG is not set > > CONFIG_CGROUP_FREEZER=3Dy > > # CONFIG_CGROUP_DEVICE is not set > > CONFIG_CGROUP_CPUACCT=3Dy > > # CONFIG_CGROUP_HUGETLB is not set > > # CONFIG_CGROUP_PERF is not set > > CONFIG_CGROUP_SCHED=3Dy > > # CONFIG_BLK_CGROUP is not set > > # CONFIG_NETFILTER_XT_MATCH_CGROUP is not set > > # CONFIG_CGROUP_NET_PRIO is not set > > # CONFIG_CGROUP_NET_CLASSID is not set > >=20 > > I wonder which of those, taken from my openrc system, are needed fo= r the > > feature you quoted. I don't remember now why any of them are set at= all, > > unless it was from a recommendation in a help text. >=20 > Apparently it's (partially) due to CONFIG_GENTOO_LINUX_PORTAGE (not > CONFIG_GENTOO_LINUX_INIT_SCRIPT as I originally thought): >=20 > Selects: CGROUPS [=3Dy] && NAMESPACES [=3Dy] && IPC_NS [=3Dy] && = NET_NS [=3Dy] Hmm. I have no instances of PORTAGE in my 3.18.9 .config; was this=20 introduced in 3.19? --=20 Rgds Peter.