From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1153 Path: news.gmane.org!not-for-mail From: Adam Megacz Newsgroups: gmane.comp.sysutils.supervision.general Subject: killing an entire process group? Date: Thu, 08 Jun 2006 19:54:01 -0700 Organization: Myself Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1149821675 19481 80.91.229.2 (9 Jun 2006 02:54:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Jun 2006 02:54:35 +0000 (UTC) Original-X-From: supervision-return-1389-gcsg-supervision=m.gmane.org@list.skarnet.org Fri Jun 09 04:54:34 2006 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1FoX8j-0003bg-V2 for gcsg-supervision@gmane.org; Fri, 09 Jun 2006 04:54:26 +0200 Original-Received: (qmail 5355 invoked by uid 76); 9 Jun 2006 02:54:46 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 5349 invoked from network); 9 Jun 2006 02:54:46 -0000 X-Injected-Via-Gmane: http://gmane.org/ Original-To: supervision@list.skarnet.org Original-Lines: 18 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: megacz.com X-Home-Page: http://www.megacz.com/ User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:CBdcHlxI4Vn9LKhuubfrJ7HTNkA= Original-Sender: news Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1153 Archived-At: Is there any way to tell runit that signals for a supervised service must be sent to the entire process group rather than just the immediate child of runsv? I'm specifically trying to get k5start to work. It spawns a user-specified process as a child, but periodically reawakens to refresh the relevant kerberos/afs credentials. Right now runit sends a TERM to k5start, which dies, but then the user process (which was a child of k5start) becomes an orphaned process and keeps running forever. Thanks for any advice! - a -- PGP/GPG: 5C9F F366 C9CF 2145 E770 B1B8 EFB1 462D A146 C380