[Pkg-sysvinit-devel] Bug#540523: sysv-rc: bogus message on runlevel switch

Petter Reinholdtsen pere at hungry.com
Sat Aug 8 17:18:37 UTC 2009


[Arne Anka]
> i experience that when switching 3 -> 2. i guess changing "3" in
> your line to "2" should reflect that?

Yes.  Sorry about that.  Simulating a switch from 3 to 2 can be done
using

  PREVLEVEL=3 debug=echo sh -x /etc/init.d/rc 2

> anyway, here's what i get with your line ("3"), below with "2":

The error you saw is not present in this log, and I am unable to
understand what went wrong.  Are you using bash or dash as /bin/sh,
btw?

Happy hacking,
-- 
Petter Reinholdtsen





More information about the Pkg-sysvinit-devel mailing list