From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1002 Path: news.gmane.org!not-for-mail From: Gerrit Pape Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: /etc/runit vs /etc/sv vs /usr/share (Debian) Date: Wed, 1 Feb 2006 15:33:04 +0000 Message-ID: <20060201153304.32674.qmail@55005bbe423341.315fe32.mid.smarden.org> References: <20060201135409.GA10941@dusk.harfang.homelinux.org> <20060201142806.25684.qmail@4ca2ca9055810d.315fe32.mid.smarden.org> <20060201145445.GA12654@dusk.harfang.homelinux.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138807999 22841 80.91.229.2 (1 Feb 2006 15:33:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Feb 2006 15:33:19 +0000 (UTC) Original-X-From: supervision-return-1238-gcsg-supervision=m.gmane.org@list.skarnet.org Wed Feb 01 16:33:14 2006 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1F4JyO-0006jb-9R for gcsg-supervision@gmane.org; Wed, 01 Feb 2006 16:32:46 +0100 Original-Received: (qmail 7034 invoked by uid 76); 1 Feb 2006 15:33:05 -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 7029 invoked from network); 1 Feb 2006 15:33:05 -0000 Original-To: supervision@list.skarnet.org Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <20060201145445.GA12654@dusk.harfang.homelinux.org> Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1002 Archived-At: On Wed, Feb 01, 2006 at 03:54:45PM +0100, Gilles wrote: > > but in the style of the new sv program, I decided to now > > recommend the /etc/sv/ directory. I'm in the progress of moving the > > getty-? service directories and other (such as provided by socklog-run, > > bcron-run, twoftpd-run, ...) into /etc/sv/ too. > > But why having some services in their own package "-run" and > others mixed in "runit-services"? While I can provide a socklog-run package, I don't have control over the 'other' packages. And I'm afraid it's not that easy to convince maintainers of 'other' packages to provide such a *-run package, at least not short-term. So the runit-services package is a (interims) place to make the service directories available conveniently. I would be happy to remove them once they appear in a -run package. One could try by filing wishlist bugs against the corresponding packages. > > After all it's just personal preference. I prefer to have the service's > > configuration (including run scripts) and logs all accessible through a > > single directory, now /etc/sv//. > > Definitely fine for "run" and "log/run", but do you really recommend having > the log files in there too? Those files can grow and eat a large amount > of the root partition's space! I thought a better place would be No, I recommend to have them _accessible_ through the service directory, think of symlinks. > > /usr/share/ should be good for examples or template service directories, > > but for actual use, they should be somewhere in /etc/, where > > configuration files usually belong. > > There, you said "for actual use", which was exactly my point in the > previous mail: Not all services in the package "runit-services" > will be actually installed on the system: For those unwanted services, > having a directory under "/etc/sv" might be construed as a little > bit "messy" (or at best, misleading). Maybe. I personally don't care that much, and don't link them into /var/service/. Regards, Gerrit.