From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1001 Path: news.gmane.org!not-for-mail From: Gilles Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: /etc/runit vs /etc/sv vs /usr/share (Debian) Date: Wed, 1 Feb 2006 15:54:45 +0100 Message-ID: <20060201145445.GA12654@dusk.harfang.homelinux.org> References: <20060201135409.GA10941@dusk.harfang.homelinux.org> <20060201142806.25684.qmail@4ca2ca9055810d.315fe32.mid.smarden.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138806175 13906 80.91.229.2 (1 Feb 2006 15:02:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Feb 2006 15:02:55 +0000 (UTC) Original-X-From: supervision-return-1237-gcsg-supervision=m.gmane.org@list.skarnet.org Wed Feb 01 16:02:48 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 1F4JUm-0006dy-Hn for gcsg-supervision@gmane.org; Wed, 01 Feb 2006 16:02:08 +0100 Original-Received: (qmail 6606 invoked by uid 76); 1 Feb 2006 15:02:29 -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 6600 invoked from network); 1 Feb 2006 15:02:29 -0000 Original-To: supervision@list.skarnet.org Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <20060201142806.25684.qmail@4ca2ca9055810d.315fe32.mid.smarden.org> X-Operating-System: Tiny Tux X-PGP-Key-Fingerprint: 53B9 972E C2E6 B93C BEAD 7092 09E6 AF46 51D0 5641 User-Agent: Mutt/1.5.11 X-SA-Exim-Connect-IP: 192.168.107.30 X-SA-Exim-Mail-From: gilles@harfang.homelinux.org X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on dawn.harfang.homelinux.org X-Spam-Level: X-Spam-Status: No, score=-4.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:44:12 +0100) X-SA-Exim-Scanned: Yes (on localhost) Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1001 Archived-At: Hi. > > The "runit" documentation on the web site seems to > > recommend to install the service directory below > > "/etc/runit", while the new "runit-services" (for > > I don't think it recommends it, but puts the default getty-5 service > directory in there, yes. > As the first reading on how things should be set up, maybe this page should be updated. > > Debian) installs them in "/etc/sv". > > Why the difference? > > /etc/runit/ also is the place for the stage 1,2,3 scripts, and the magic > files stopit, reboot, ctrlaltdel. I don't think it's a good place to > put the service directories. Again, the above page makes one think that you think the opposite. > Initially I thought they should just go > into /etc/, But that would have mixed with the server programs config files! No? > 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"? > 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 /var/log/service/ or with the newly proposed name /var/log/sv/ > /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). Best, Gilles