From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NlrJB-0007C3-4d for garchives@archives.gentoo.org; Sun, 28 Feb 2010 22:08:17 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B76A1E0D1C for ; Sun, 28 Feb 2010 22:08:16 +0000 (UTC) Received: from mail-ew0-f222.google.com (mail-ew0-f222.google.com [209.85.219.222]) by pigeon.gentoo.org (Postfix) with ESMTP id 8C0E2E07AD for ; Sun, 28 Feb 2010 21:53:11 +0000 (UTC) Received: by ewy22 with SMTP id 22so1249495ewy.26 for ; Sun, 28 Feb 2010 13:53:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=wCJDt1i28egBkLmqkyM1N4Xk5rhliZMeRTmCZ9McMyo=; b=YQHxwMiY1pPZofze3lCwnFj/N5ttGpwMNKFROF32fAbytLIP/T0lpjJOTz270qC0Vh ncVzMXwbHYb5j0bmtRRH3ysONCD8VQSTSGqofmWIa5B6444zSrrE1DxR3Aifonr2cMcW n1t6sZwUqsocpFVxXsAxzbO5PIlr2obZW9MOg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=wg/9o09lHOL15dU3Kg+2O2d3SM92P/PCSvU01GbksomxaFkBoh2Aq94vqpdka2cZdn OQjX2DBc8Cqy3Jb8pQT0BIukWa45GhQD1VXItSYyJJmY079q3+H1PY9QH28fAyzonwfj dp/W1B57uwz9RxNO9EGKIjqTBzoPERkL02oC0= Received: by 10.213.109.91 with SMTP id i27mr2697223ebp.3.1267393991013; Sun, 28 Feb 2010 13:53:11 -0800 (PST) Received: from nazgul.localnet (196-210-238-8.dynamic.isadsl.co.za [196.210.238.8]) by mx.google.com with ESMTPS id 14sm1836482ewy.6.2010.02.28.13.53.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 28 Feb 2010 13:53:09 -0800 (PST) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: [OT] attach a perl script to daemon services Date: Sun, 28 Feb 2010 23:50:39 +0200 User-Agent: KMail/1.13.0 (Linux/2.6.32-zen6; KDE/4.4.0; x86_64; ; ) References: <87tyt3g7rr.fsf@newsguy.com> <201002270100.43223.alan.mckinnon@gmail.com> <87635ifrou.fsf@newsguy.com> In-Reply-To: <87635ifrou.fsf@newsguy.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201002282350.39518.alan.mckinnon@gmail.com> X-Archives-Salt: fb92a3fb-f143-4b2c-8027-a3b3618dc31b X-Archives-Hash: c4f7f765e76839f6d24f71ec87c06241 On Saturday 27 February 2010 20:40:17 Harry Putnam wrote: > In the back of my mind there was a reason on opensolaris, that the > script would fail if the fifo was empty... Then once data comes the > script isn't listening. Or syslog won't write or something similar. > > I also have an opensolaris box that will be using this same script. > > I don't want to back up and relocate all that right now... Not sure I > have it remembered right either, it seems just easier to have the > script check before trying to start (for portability). > > Solaris syslog can write to named pipes but no so readily as linux > syslog. Not sure of the details now. The rest of your post seems adequately answered elsewhere. FWIW, Solaris syslogd is like other basic tools on Solaris: standards compliant in that it caters for the lowest common denominator that comprises Unix. Which is to say, almost always useless for real work. I tossed syslogd on Solaris long long ago and migrated everything to syslog- ng. The nice thing about syslog-ng is that it actually *works*, and does so predictably. -- alan dot mckinnon at gmail dot com