From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23583 invoked by uid 1002); 11 Sep 2003 18:20:36 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 27601 invoked from network); 11 Sep 2003 18:20:35 -0000 Date: Thu, 11 Sep 2003 18:18:11 +0000 From: "Hallgrimur H. Gunnarsson" To: gentoo-dev@gentoo.org Message-ID: <20030911181811.GA2907@data.is> Mail-Followup-To: "Hallgrimur H. Gunnarsson" , gentoo-dev@gentoo.org References: <20030909211112.GA20604@data.is> <87iso1jg2m.fsf@nb-acer.better-com.de> <20030911135707.GB3889@jeeves.woahnelly.net> <20030911160024.GA974@data.is> <20030911162734.GE3889@jeeves.woahnelly.net> <20030911180236.GB1087@norby.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20030911180236.GB1087@norby.dyndns.org> User-Agent: Mutt/1.4i Subject: Re: [gentoo-dev] New USE flag 'daemontools' as an alternative to init.d X-Archives-Salt: 891c6d47-cdbb-42c4-93be-f3487c914c31 X-Archives-Hash: 690ce54f529edaca48705508ae4d5e7f On 11.09.2003 Frederick Grim wrote: > #!/bin/sh > > exec /usr/bin/tcpserver 0 111 /sbin/portmap -d 2>&1 > > with it's associated log/run script > > #!/bin/sh > exec /usr/bin/setuidgid nobody /usr/bin/multilog t s2500000 > /var/log/supervise/portmap > > which bypasses these dependancies. I have found, using daemontools > that the system logger is only useful for a few broken daemons that > can't be configured to log to stdout. > > So this is sort of an important point. If runscripts are included > will the logging by default be to the stdout or to syslog? I think it should definitely be stdout by default, even if it were just to force that support into all packages who wish to provide daemontools support, so that you dont install a program that claims to support 'daemontools' but doesnt allow to use another logger than syslog. Perhaps we should come up with some method in which 'run' files are installed? Should we have a /etc/supervise/packagename or /etc/daemontools/packagename, or something like that? - hhg -- gentoo-dev@gentoo.org mailing list