From 2c448fe6d4182f4b154f941adabfccbdea2936bc Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 30 Jul 2009 07:29:34 +0000 Subject: Bug #278895 - Make ebuild.sh clean up orphaned processes that may have been left behind by ebuild phases. This works by using setsid to create a new login session for the ebuild.sh process, and `kill -s SIGHUP 0` to send a SIGHUP signal to all processes in the session. The setsid is currently not done on the python side since that would cause the sandbox process in the session, and sandbox produces a warning message if it catches a SIGHUP signal. svn path=/main/trunk/; revision=13856 --- pym/portage/__init__.py | 1 + 1 file changed, 1 insertion(+) (limited to 'pym') diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index d897af0e8..0e279c433 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -1048,6 +1048,7 @@ class config(object): "EBUILD_PHASE", "EMERGE_FROM", "HOMEPAGE", "INHERITED", "IUSE", "KEYWORDS", "LICENSE", "PDEPEND", "PF", "PKGUSE", "PORTAGE_CONFIGROOT", "PORTAGE_IUSE", "PORTAGE_REPO_NAME", + "PORTAGE_SETSID", "PORTAGE_USE", "PROPERTIES", "PROVIDE", "RDEPEND", "RESTRICT", "ROOT", "SLOT", "SRC_URI" ] -- cgit v1.2.3-1-g7c22