From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/524 Path: main.gmane.org!not-for-mail From: prj@po.cwru.edu (Paul Jarc) Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: ypserv Date: Wed, 21 Jul 2004 18:34:11 -0400 Organization: What did you have in mind? A short, blunt, human pyramid? Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1090449270 14978 80.91.224.253 (21 Jul 2004 22:34:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Jul 2004 22:34:30 +0000 (UTC) Cc: supervision@list.skarnet.org Original-X-From: supervision-return-762-gcsg-supervision=m.gmane.org@list.skarnet.org Thu Jul 22 00:34:20 2004 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1BnPfH-0003ZY-00 for ; Thu, 22 Jul 2004 00:34:20 +0200 Original-Received: (qmail 13046 invoked by uid 76); 21 Jul 2004 22:34:40 -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 13041 invoked from network); 21 Jul 2004 22:34:40 -0000 Original-To: Tim Philips In-Reply-To: (Tim Philips's message of "Thu, 22 Jul 2004 09:39:27 +1200 (NZST)") Mail-Copies-To: nobody Mail-Followup-To: Tim Philips , supervision@list.skarnet.org Original-Lines: 16 User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) Xref: main.gmane.org gmane.comp.sysutils.supervision.general:524 Tim Philips wrote: > I have also tried many different ways of putting things in the run file > without luck either. Extreme overkill, but it should work for anything: run it under a system call tracer, following forks. E.g., for Linux: #!/bin/sh exec 2>&1 exec strace -f -o /dev/null ypserv .... There should be a better way, though - have you tried closing stdin when using fghack, or does ypserv close that too? exec fghack ypserv ... <&- paul