From: Gerrit Pape <pape@smarden.org>
Subject: Re: /etc/runit/3 not executing correctly...
Date: Tue, 27 Jul 2004 10:43:57 +0000 [thread overview]
Message-ID: <20040727104400.7150.qmail@ebc4b750716d9e.315fe32.mid.smarden.org> (raw)
In-Reply-To: <200407262006.49135.knoglen@tele2.fr>
On Mon, Jul 26, 2004 at 08:06:49PM +0200, John Nielsen wrote:
> On Monday 26 July 2004 18:18, Laurent Bercot wrote:
> > > 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.
>
> I use reiserfs, so fsck wouldnt run anyway. :-) But it doesnt replay the log
> when mounting which means it umounted properly. The last message i get from
> runit (not from the script) is "unmounting any remaining filesystems", so
> that would explain the clean mount.
That message is not from runit, did you post your complete stage 3
script, or only a top part of it?
> Allso, I tried to pipe all of the echo lines out to a file instead to see if
> it was just a strange screen problem, but the output still stopped at 6, so
> the execution of the scripts stops at the first svwaitdown line, but runit
> itself doesnt stop the shutdown.
Hmm. If you have a getty service running on console 1, I suggest to
disable this service, login on console 2, run `init 6`, then immediately
logout from console 2, and switch to console 1. Does this change
anything?
If not, I would do the following: login on console 2 only, no other
login. Take down all services but the getty-2 service manually, and
make sure they're down. Then reboot by running `init 6`, logout from
console 2 and switch to console 1.
BTW, what operating system are you using?
HTH, Gerrit.
next prev parent reply other threads:[~2004-07-27 10:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-26 16:10 John Nielsen
2004-07-26 16:18 ` Laurent Bercot
2004-07-26 18:06 ` John Nielsen
2004-07-27 10:43 ` Gerrit Pape [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040727104400.7150.qmail@ebc4b750716d9e.315fe32.mid.smarden.org \
--to=pape@smarden.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).