Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 566414 - sys-apps/portage: die in subshell should trigger killing of all processes in cgroup
Summary: sys-apps/portage: die in subshell should trigger killing of all processes in ...
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:05 UTC by Zac Medico
Modified: 2016-03-14 02:48 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:05:02 UTC
We simply need to fix SpawnProcess._cancel to call the cgroup process cleanup code.
Comment 1 Zac Medico gentoo-dev 2015-11-21 19:22:25 UTC
There's a patch in the following branch:

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

I've posted it for review here:

https://archives.gentoo.org/gentoo-portage-dev/message/cb6eb2c0398b3ea919ab3b2d2c6863ee
Comment 3 Zac Medico gentoo-dev 2016-03-14 02:48:53 UTC
Fixed in 2.2.26.