From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/496 Path: main.gmane.org!not-for-mail From: Lloyd Zusman Newsgroups: gmane.comp.sysutils.supervision.general Subject: Testing runit-init, stuck in stage 2 ??? Date: Sat, 26 Jun 2004 15:41:43 -0400 Sender: news Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1088279027 31530 80.91.224.253 (26 Jun 2004 19:43:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 26 Jun 2004 19:43:47 +0000 (UTC) Original-X-From: supervision-return-734-gcsg-supervision=m.gmane.org@list.skarnet.org Sat Jun 26 21:43:39 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 1BeJ5P-0005xw-00 for ; Sat, 26 Jun 2004 21:43:39 +0200 Original-Received: (qmail 23234 invoked by uid 76); 26 Jun 2004 19:44:00 -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 23228 invoked from network); 26 Jun 2004 19:44:00 -0000 X-Injected-Via-Gmane: http://gmane.org/ Original-To: supervision@list.skarnet.org Original-Lines: 83 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: hippo.asfast.com User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:34L1GFS//1luGw/GPXdL9mjoRT4= Xref: main.gmane.org gmane.comp.sysutils.supervision.general:496 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:496 I'm following the instructions in the GNU/Linux section of the "runit - replacing init" documentation (http://smarden.org/runit/replaceinit.html) in order to replace 'init' with 'runit-init' on my linux box. After properly installing runit, I have successfully completed steps 1, 2, and 3, and all testing I did in step 3 has succeeded. Then, I try to do step 4: Step 4: Reboot into runit for testing Boot your system with runit for the first time. This does not change the default boot behavior of your system, lilo will be told to use runit just once: a. reboot the system b. enter the following on the lilo prompt: init=/sbin/runit-init c. watch the console output while runit boots up the system d. switch to tty5 when stage 2 is reached, a getty should run there, you are able to login. I rebooted, (step "a"), and then in step "b", I performed the equivalent step in grub, which I use instead of lilo. Step "c" went fine until I saw that I was entering runit-init. It made it into runit's stage 1, which completed with no problem. Then, it went into stage 2 (step "d") and hung at that point. By "hung", I mean that the boot sequence stopped cold with nothing more taking place. I tried to go to tty5, but nothing happened when I issued the Ctrl-Alt-F5 sequence which normally switches to that tty. Finally, I had to do a Ctrl-Alt-Delete to interrupt this and to cause my system to reboot. This seemed to be the only key sequence that caused anything to happen when I was in this hung state. Here's the pertinent information: % uname -srvo Linux 2.4.20-31.9smp #1 SMP Tue Apr 13 17:40:10 EDT 2004 GNU/Linux # Contents of /etc/inittab id:5:initdefault: si::sysinit:/etc/rc.d/rc.sysinit l0:0:wait:/etc/rc.d/rc 0 l1:1:wait:/etc/rc.d/rc 1 l2:2:wait:/etc/rc.d/rc 2 l3:3:wait:/etc/rc.d/rc 3 l4:4:wait:/etc/rc.d/rc 4 l5:5:wait:/etc/rc.d/rc 5 l6:6:wait:/etc/rc.d/rc 6 ca::ctrlaltdel:/sbin/shutdown -t3 -r now pf::powerfail:/sbin/shutdown -f -h +2 "Power Failure; System Shutting Down" pr:12345:powerokwait:/sbin/shutdown -c "Power Restored; Shutdown Cancelled" 1:2345:respawn:/sbin/mingetty tty1 2:2345:respawn:/sbin/mingetty tty2 3:2345:respawn:/sbin/mingetty tty3 4:2345:respawn:/sbin/mingetty tty4 ## Comment out tty5 so we can test runit-init ##5:2345:respawn:/sbin/mingetty tty5 6:2345:respawn:/sbin/mingetty tty6 # Run xdm in runlevel 5 x:5:respawn:/etc/X11/prefdm -nodaemon Does this problem ring a bell with anyone? Thanks in advance. -- Lloyd Zusman ljz@asfast.com God bless you.