From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5A7A01381F3 for ; Mon, 19 Aug 2013 09:38:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2552EE0DC7; Mon, 19 Aug 2013 09:38:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ACD88E0DC7 for ; Mon, 19 Aug 2013 09:38:24 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BFBC733DEE1 for ; Mon, 19 Aug 2013 09:38:23 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 4323BE468F for ; Mon, 19 Aug 2013 09:38:22 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1376905072.a500fbdae1098424e64356f8a24ac3c25bbff908.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/_emerge/ X-VCS-Repository: proj/portage X-VCS-Files: pym/_emerge/SpawnProcess.py X-VCS-Directories: pym/_emerge/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: a500fbdae1098424e64356f8a24ac3c25bbff908 X-VCS-Branch: master Date: Mon, 19 Aug 2013 09:38:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f3d713dc-a651-45ec-86bf-87f43d6bce61 X-Archives-Hash: 724f86dd1d93796ba827c299a2a55d2e commit: a500fbdae1098424e64356f8a24ac3c25bbff908 Author: Michał Górny gentoo org> AuthorDate: Mon Aug 19 09:37:01 2013 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon Aug 19 09:37:52 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=a500fbda cgroup: use SIGKILL to guarantee killing processes. --- pym/_emerge/SpawnProcess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/_emerge/SpawnProcess.py b/pym/_emerge/SpawnProcess.py index 60bd3f1..061770d 100644 --- a/pym/_emerge/SpawnProcess.py +++ b/pym/_emerge/SpawnProcess.py @@ -205,7 +205,7 @@ class SpawnProcess(SubProcess): # step 1: kill all orphans pids = get_pids(self.cgroup) if pids: - kill_all(pids, signal.SIGTERM) + kill_all(pids, signal.SIGKILL) # step 2: remove the cgroup try: