[Pkg-sysvinit-devel] Bug#438529: Bug#438529: sysvinit: /sbin/runlevel output confused in single-user
Petter Reinholdtsen
pere at hungry.com
Sat Aug 18 07:22:18 UTC 2007
[Martin J. Carter]
> But then again, I'm aware changing what runlevel reports may break
> other things. Feel free to reassign this to portmap.
I suspect this is related to the fact that the string returned from
/bin/runlevel get its value from /var/run/utmp, and it is updated when
init switches runlevel and is not quite correct the entire rcS.d run
because it is read-only when the rcS.d starts. No idea how to avoid
it.
Happy hacking,
--
Petter Reinholdtsen
More information about the Pkg-sysvinit-devel
mailing list