From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/736 Path: news.gmane.org!not-for-mail From: Kevin Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: init signals and touching files Date: Tue, 01 Mar 2005 08:29:46 -0600 Message-ID: <1109687386.3657.5.camel@localhost> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-NnmbYTEuFd5iox9Ltkey" X-Trace: sea.gmane.org 1110122680 19678 80.91.229.2 (6 Mar 2005 15:24:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 6 Mar 2005 15:24:40 +0000 (UTC) Cc: supervision@list.skarnet.org Original-X-From: supervision-return-975-gcsg-supervision=m.gmane.org@list.skarnet.org Sun Mar 06 16:24:40 2005 Original-Received: from antah.skarnet.org ([212.85.147.14] ident=qmailr) by ciao.gmane.org with smtp (Exim 4.43) id 1D7xcN-0001qD-Sp for gcsg-supervision@gmane.org; Sun, 06 Mar 2005 16:24:32 +0100 Original-Received: (qmail 20333 invoked by uid 76); 6 Mar 2005 15:30:21 -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 20327 invoked from network); 6 Mar 2005 15:30:21 -0000 Original-To: Vincent Danen In-Reply-To: X-Mailer: Evolution 2.0.3 X-MailScanner-To: gcsg-supervision@gmane.org Xref: news.gmane.org gmane.comp.sysutils.supervision.general:736 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:736 --=-NnmbYTEuFd5iox9Ltkey Content-Type: text/plain Content-Transfer-Encoding: quoted-printable > The other issue I have is that runit-init (which I've renamed to init)=20 > always wants to shut down. If I do "init 6", I expect it to reboot,=20 > but it halts the system. I don't think runit should care that=20 > runit-init is now called init, but I don't know. I did write little=20 > wrapper scripts to replace the SysVinit reboot/halt scripts (so that=20 > you can set a time and it sends out a wall message), but the last thing=20 > called is "init 0" for halt and "init 6" for reboot but in all cases it=20 > shuts down. I don't know why though. Any ideas on this? I'm wondering somewhat with your stage 3 script looks like. I've only ever had the shutdown troubles you describe on a FreeBSD box that was using the port, which had some somewhat goofy stage scripts. I took the useful bits from my Debian GNU/Linux stage 3 scripts to fix it up, and it now shutsdown and reboots like it is supposed to. > Beyond those two issues, using runit rocks. I can deal with the r/o=20 > filesystem issue by adding some documentation noting the fact that this=20 > is a problem and that there is no real damage to anything (because it's=20 > all mounted r/o), it's just ugly and not very well handled (with=20 > SysVinit, this has never been a problem). And it won't actually affect=20 > me again because now I mount those drives from rc.local *after* I=20 > manually modprobe sata_promise. This sounds like you either need to place the driver within the kernel, or place sata_promise in /etc/modules... I'm guessing you're able to boot this drive at all due to an initrd or similar.. > The lack of a reboot issue is big though because it makes doing remote=20 > administration (ie. a reboot due to a kernel upgrade) extremely=20 > problematic. Check out your stage 3 script. Something is wrong there, I'm thinking. Did you install via a distribution package, or from the slashpackage? --=-NnmbYTEuFd5iox9Ltkey Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQBCJHxaeG1uZde00Q4RAruYAJ4himDY9emBot/oPvh3EE051OSJHwCfdAMj SiCxw0ccczYFJ+JutSZi/hI= =PBus -----END PGP SIGNATURE----- --=-NnmbYTEuFd5iox9Ltkey--