From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/318 Path: main.gmane.org!not-for-mail From: Alejandro Mery Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: nullmailer & fghack? (was Re: runit-1.0.0 release) Date: Thu, 12 Feb 2004 23:32:23 -0300 Message-ID: <20040213023223.GA1182@socomep> References: <20040212211510.GA11016@socomep> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1076639784 4721 80.91.224.253 (13 Feb 2004 02:36:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 13 Feb 2004 02:36:24 +0000 (UTC) Cc: supervision@list.skarnet.org Original-X-From: supervision-return-556-gcsg-supervision=m.gmane.org@list.skarnet.org Fri Feb 13 03:36:19 2004 Return-path: Original-Received: from antah.skarnet.org ([212.43.221.114]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1ArTBj-0002kl-00 for ; Fri, 13 Feb 2004 03:36:19 +0100 Original-Received: (qmail 3565 invoked by uid 76); 13 Feb 2004 02:36:39 -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 3560 invoked from network); 13 Feb 2004 02:36:39 -0000 Original-To: Charlie Brady Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Xref: main.gmane.org gmane.comp.sysutils.supervision.general:318 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:318 On Thu, Feb 12, 2004 at 09:13:32PM -0500, Charlie Brady wrote: > > On Thu, 12 Feb 2004, Alejandro Mery wrote: > > > i'm just waiting for the last basic tools of sysvinit, for some missing > > tools from daemontools like fghack (damn nullmailer) ... > > What's your problem with nullmailer? Bruce says it works so: > > #! /bin/sh > exec setuidgid nullmail nullmailer-send 2>&1 uhm? mine goes to 'background' itself using *your* script... # runsvctrl u nullmailer # ps aux | grep nullmailer | head -n 10 root 1318 0.1 0.0 1276 276 ? S 23:24 0:00 runsv nullmailer nullmail 1322 0.0 0.1 2276 904 ? S 23:24 0:00 nullmailer-send nullmail 1324 0.0 0.1 2276 904 ? S 23:24 0:00 nullmailer-send nullmail 1326 0.0 0.1 2276 904 ? S 23:25 0:00 nullmailer-send nullmail 1328 0.0 0.1 2276 904 ? S 23:25 0:00 nullmailer-send nullmail 1332 0.0 0.1 2276 904 ? S 23:25 0:00 nullmailer-send nullmail 1334 0.0 0.1 2276 904 ? S 23:25 0:00 nullmailer-send nullmail 1336 0.0 0.1 2276 904 ? S 23:25 0:00 nullmailer-send nullmail 1343 0.0 0.1 2276 904 ? S 23:25 0:00 nullmailer-send nullmail 1345 0.0 0.1 2276 904 ? S 23:25 0:00 nullmailer-send # runsvctrl d nullmailer # killall nullmailer-send nullmailer-1.00RC7.tar.gz i have search the source to patch it, but the only fork i found is to actually do the send. i'll have to take the time to strace it. but if you get the author to fix it, *much* better. Alejandro Mery