supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* /etc/runit/3 not executing correctly...
@ 2004-07-26 16:10 John Nielsen
  2004-07-26 16:18 ` Laurent Bercot
  0 siblings, 1 reply; 10+ messages in thread
From: John Nielsen @ 2004-07-26 16:10 UTC (permalink / raw)


Hi all,

Im trying to set up runit on my system and has hit a wall.

Every time the 3 script executes svwaitdown, it exits the script without 
finishing. The script looks like this. I have put in echo lines so i can see 
exactly when the script stops. 

#!/bin/sh
echo 1

exec 2>&1
echo 2

PATH=/sbin:/bin:/usr/sbin:/usr/bin
echo 3

LAST=0
echo 4
test -x /etc/runit/reboot && LAST=6
echo 5

echo 'Waiting for getties to stop...'
echo 6
svwaitdown -xk -t10 /var/service/getty-*
echo 7

echo 'Waiting for services to stop...'
echo 8
svwaitdown -xk -t30 /var/service/*
echo 9

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.

The other scripts are working fine.

Has anyone run into this problem before?
At this point I would even welcome RTFM pointers. :-)

Regards,

John 


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2004-07-28 17:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-26 16:10 /etc/runit/3 not executing correctly John Nielsen
2004-07-26 16:18 ` Laurent Bercot
2004-07-26 18:06   ` John Nielsen
2004-07-27 10:43     ` Gerrit Pape
2004-07-27 16:23       ` John Nielsen
2004-07-27 16:55         ` John Nielsen
2004-07-27 18:26           ` John Nielsen
2004-07-27 18:42             ` Charlie Brady
2004-07-28  8:25             ` Gerrit Pape
2004-07-28 17:03               ` John Nielsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).