From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/531 Path: main.gmane.org!not-for-mail From: Laurent Bercot Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: /etc/runit/3 not executing correctly... Date: Mon, 26 Jul 2004 18:18:53 +0200 Message-ID: <20040726161853.GA3171@skarnet.org> References: <200407261810.13156.knoglen@tele2.fr> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1090858720 9237 80.91.224.253 (26 Jul 2004 16:18:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Jul 2004 16:18:40 +0000 (UTC) Original-X-From: supervision-return-769-gcsg-supervision=m.gmane.org@list.skarnet.org Mon Jul 26 18:18:32 2004 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1Bp8BM-00010p-00 for ; Mon, 26 Jul 2004 18:18:32 +0200 Original-Received: (qmail 3272 invoked by uid 76); 26 Jul 2004 16:18:53 -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 3266 invoked by uid 1000); 26 Jul 2004 16:18:53 -0000 Mail-Followup-To: supervision@list.skarnet.org Original-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <200407261810.13156.knoglen@tele2.fr> User-Agent: Mutt/1.4i Xref: main.gmane.org gmane.comp.sysutils.supervision.general:531 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:531 Just a silly idea : > echo 'Waiting for getties to stop...' > echo 6 > svwaitdown -xk -t10 /var/service/getty-* What if you insert "exec > /dev/console 2>/dev/console" here ? > With this script the last number being printet is "6". After that, it just > gives me the normal "Unmounting any remaining file systems. Now you can turn > off the power", so it exits somewhere while executing the first svwaitdown > command. If you can boot your system again without an fsck, it means that the other services have stopped properly - so your script finished correctly. I guess that it does finish, but the "echo" commands don't print anything on the screen because of some weird VC deallocation thing happening when the gettys die. -- Ska