From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/650 Path: main.gmane.org!not-for-mail From: Larry Doolittle Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: runit on debian sid success, and questions Date: Tue, 18 Jan 2005 17:13:03 -0800 Message-ID: <20050118171303.A27683@recycle.lbl.gov> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1106097197 9799 80.91.229.6 (19 Jan 2005 01:13:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Jan 2005 01:13:17 +0000 (UTC) Original-X-From: supervision-return-889-gcsg-supervision=m.gmane.org@list.skarnet.org Wed Jan 19 02:13:10 2005 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1Cr4PG-0000Cj-00 for ; Wed, 19 Jan 2005 02:13:10 +0100 Original-Received: (qmail 3122 invoked by uid 76); 19 Jan 2005 01:13:28 -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 3117 invoked from network); 19 Jan 2005 01:13:28 -0000 Original-To: supervision@list.skarnet.org Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Xref: main.gmane.org gmane.comp.sysutils.supervision.general:650 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:650 > > The only (non-kernel) daemons left running _not_ under runsvdir > > are udevd, portmap, and gconfd-2. Vixie cron and I aren't getting > > along very well at the moment, it's not running at all. :-p > > See here for examples for portmap and Debian's cron: My problem is not so much putting these daemons under runit, it's getting them _out_ of SysV init. In the case of cron and portmap, I ended up simply getting rid of them. I can post my norc (antithesis of cron) script if anyone is interested. It's a ten-line shell script that runs the scripts in /etc/cron.daily at three in the morning, using sleep and date. I just noticed the ipsvd package yesterday, which is an apt-get away. Whee! I have started to phase out tcpserver. I ran into odd runit shutdown behavior on another machine, vanilla Pentium (Celeron) with Debian sarge. I don't have the exact message, but it said something like power down kernel panic, attempting to kill init! then the disks spun down, but the video kept going. It then needed me to reset or power down. Of course, this machine powered down normally with stock debian sarge init. For that installation, I simply used "apt-get install runit-init" once I had the basics tested under runit. It was quite a trick to shut down the machine the first time after that install! Something like "/sbin/sysv-init 0" finally did it; telint was linked to runit-init, which of course didn't know how to shut down the system running under the old paradigm. I think I saw a message giving hints about this as part of the apt-get, but I blew it off a little too lightly. - Larry