Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 550578

Summary: dev-lang/python-2.7: incorporate semaphore backport
Product: Gentoo Linux Reporter: SpanKY <vapier>
Component: [OLD] Core systemAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: dev-portage
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.python.org/issue24303
Whiteboard:
Package list:
Runtime testing required: ---

Description SpanKY gentoo-dev 2015-05-27 18:32:18 UTC
python-3 incidentally fixed an issue involving semaphores and pid namespaces while reworking code, but that change didn't make it to python-2.7.  that means using the multiprocess module in python-2.7 in pid namespaces is dangerous.

Chromium OS has backported-ish a fix though and posted it upstream (see URL).  can we incorporate that into our 2.7 ahead of time ?  we were running into problems specifically while using portage, albeit probably more in parallel than most people ...
Comment 1 Mike Gilbert gentoo-dev 2015-05-27 18:41:43 UTC
Sure. I'll be adding 2.7.10 to the tree this week, and I will try to include it then.
Comment 2 Mike Gilbert gentoo-dev 2015-05-28 04:11:16 UTC
+*python-2.7.10 (28 May 2015)
+
+  28 May 2015; Mike Gilbert <floppym@gentoo.org>
+  +files/python-2.7.10-semaphore-pid.patch, +python-2.7.10.ebuild:
+  Version bump.