From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1432 Path: news.gmane.org!not-for-mail From: Charlie Brady Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: orphan processes Date: Tue, 5 Jun 2007 21:09:49 -0400 (EDT) Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: sea.gmane.org 1181092196 28511 80.91.229.12 (6 Jun 2007 01:09:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 6 Jun 2007 01:09:56 +0000 (UTC) Cc: supervision@list.skarnet.org To: Adam Megacz , Paul Jarc Original-X-From: supervision-return-1669-gcsg-supervision=m.gmane.org@list.skarnet.org Wed Jun 06 03:09:54 2007 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by lo.gmane.org with smtp (Exim 4.50) id 1Hvk24-0002TW-An for gcsg-supervision@gmane.org; Wed, 06 Jun 2007 03:09:52 +0200 Original-Received: (qmail 3787 invoked by uid 76); 6 Jun 2007 01:10:13 -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 3781 invoked from network); 6 Jun 2007 01:10:13 -0000 X-X-Sender: charlieb@e-smith.charlieb.ott.istop.com In-Reply-To: Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1432 Archived-At: On Tue, 5 Jun 2007, Paul Jarc wrote: >> Anyways, this got me thinking: is there any way in UNIX for the leader >> of a process/session group to tell the system that orphan processes in >> that group should be reparented to the leader rather than "pid 1"? > > I don't think so. Not as such. But do some research on linux "containers" and "pid namespace". It's possible to have multiple sets of pids, including multiple pid 1s. Each pid 1 will collect orphan processes within its own pid namespace.