Re: [gentoo-portage-dev] Re: [PATCH] Enable cgroup, ipc-sandbox network-sandbox by default

2015-04-08 Thread Zac Medico
On 04/08/2015 07:03 AM, Martin Vaeth wrote:
 Michał Górny mgo...@gentoo.org wrote:

 All the features degrade gracefully when the relevant kernel features
 are not available.
 
 In conncetion with some old version of rescuecd, and fetching files,
 one can run into troubles with FEATURES=cgroups
 
 https://forums.gentoo.org/viewtopic-t-1009074-start-0-postdays-0-postorder-asc-highlight-.html
 
 (The bad thing was that this error happened, before it was clear
 that portage attempted to fetch files)

IOError: [Errno 22] Invalid argument is thrown when writing to
cgroup.procs in portage.process._exec(). We need to detect whatever
conditions cause this inside AbstractEbuildProcess._start(), and disable
the cgroup usage in that case.
-- 
Thanks,
Zac



[gentoo-portage-dev] Re: [PATCH] Enable cgroup, ipc-sandbox network-sandbox by default

2015-04-08 Thread Martin Vaeth
Michał Górny mgo...@gentoo.org wrote:

 All the features degrade gracefully when the relevant kernel features
 are not available.

In conncetion with some old version of rescuecd, and fetching files,
one can run into troubles with FEATURES=cgroups

https://forums.gentoo.org/viewtopic-t-1009074-start-0-postdays-0-postorder-asc-highlight-.html

(The bad thing was that this error happened, before it was clear
that portage attempted to fetch files)