On Wednesday 01 April 2015 10:53:15 Marc Joliet wrote: > Am Wed, 01 Apr 2015 09:43:21 +0100 > > schrieb Peter Humphrey <pe...@prh.myzen.co.uk>: > > On Wednesday 01 April 2015 02:04:05 Canek Peláez Valdés wrote: > > > """ > > > # If you have cgroups turned on in your kernel, this switch controls > > > # 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. Please > > > set > > > # it in /etc/conf.d/<service>. > > > # To perform this cleanup manually for a stopped service, you can > > > # execute cgroup_cleanup with /etc/init.d/<service> cgroup_cleanup or > > > # rc-service <service> cgroup_cleanup. > > > # rc_cgroup_cleanup="NO" > > > """ > > > > # grep -i cgroup /usr/src/linux/.config > > CONFIG_CGROUPS=y > > # CONFIG_CGROUP_DEBUG is not set > > CONFIG_CGROUP_FREEZER=y > > # CONFIG_CGROUP_DEVICE is not set > > CONFIG_CGROUP_CPUACCT=y > > # CONFIG_CGROUP_HUGETLB is not set > > # CONFIG_CGROUP_PERF is not set > > CONFIG_CGROUP_SCHED=y > > # 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 > > > > I wonder which of those, taken from my openrc system, are needed for 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. > > Apparently it's (partially) due to CONFIG_GENTOO_LINUX_PORTAGE (not > CONFIG_GENTOO_LINUX_INIT_SCRIPT as I originally thought): > > Selects: CGROUPS [=y] && NAMESPACES [=y] && IPC_NS [=y] && NET_NS [=y]
Hmm. I have no instances of PORTAGE in my 3.18.9 .config; was this introduced in 3.19? -- Rgds Peter.