Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 566420 - sys-apps/portage: cgroup cleanup code should re-check cgroup.procs until empty, in case of new forks
Summary: sys-apps/portage: cgroup cleanup code should re-check cgroup.procs until empt...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Ebuild Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2015-11-21 19:33 UTC by Zac Medico
Modified: 2016-03-14 03:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2015-11-21 19:33:57 UTC
For subshell die support (bug 465008), we need to re-check cgroup.procs until it's empty, in case any of the listed process fork before we've had a chance to kill them.
Comment 1 Zac Medico gentoo-dev 2015-11-21 19:53:11 UTC
There's a patch in the following branch:

https://github.com/zmedico/portage/tree/bug_566420

I've posted it for review here:

https://archives.gentoo.org/gentoo-portage-dev/message/44fe5595b94cf4a78fc37c50b97cc610
Comment 3 Zac Medico gentoo-dev 2016-03-14 03:58:53 UTC
Fixed in 2.2.26.