From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1532 Path: news.gmane.org!not-for-mail From: Charlie Brady Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: runit not collecting zombies Date: Sat, 15 Sep 2007 12:02:27 -0400 (EDT) Message-ID: References: <20070912181836.GG12043@home.power> <20070912191346.GH12043@home.power> <20070915133641.GA30650@home.power> <20070915135749.GB30650@home.power> <20070915152804.GD30650@home.power> <20070915155525.GF30650@home.power> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: sea.gmane.org 1189904911 24247 80.91.229.12 (16 Sep 2007 01:08:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 16 Sep 2007 01:08:31 +0000 (UTC) Cc: supervision@list.skarnet.org To: Alex Efros Original-X-From: supervision-return-1767-gcsg-supervision=m.gmane.org@list.skarnet.org Sun Sep 16 03:08:29 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 1IWice-0006kr-Ty for gcsg-supervision@gmane.org; Sun, 16 Sep 2007 03:08:29 +0200 Original-Received: (qmail 10910 invoked by uid 76); 16 Sep 2007 01:08:50 -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 12051 invoked from network); 15 Sep 2007 16:02:49 -0000 X-X-Sender: charlieb@e-smith.charlieb.ott.istop.com In-Reply-To: <20070915155525.GF30650@home.power> Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1532 Archived-At: On Sat, 15 Sep 2007, Alex Efros wrote: > On Sat, Sep 15, 2007 at 11:49:53AM -0400, Charlie Brady wrote: >>> # mkdir /var/empty/dev >>> # mount -o bind /dev/ /var/empty/dev/ >> >> BTW, you don't want to do that. You are exposing all device nodes inside >> /var/empty. You on;y want the syslog socket, and syslogd will create that >> if you tell it to. > > Yep. I know. I've unmounted it after experiment. I don't wish to provide > /var/empty/dev/log for ssh - it's ssh responsibility to have access to > /dev/log if it need log. For example, ssh can open /dev/log before fork > and provide that fd for chroot'ed child. No, that doesn't work. syslogd might be restarted while sshd continues to run. Anyway, your problem if you want to throw away log messages ...