[gobolinux-users] Udev is being evil . . .
Jonas Karlsson
jonka750 at student.liu.se
Fri Jul 20 05:40:10 UTC 2007
On Fri, 20 Jul 2007 06:05:27 +0200, Samuel A. Falvo II <sam.falvo at gmail.com> wrote:
> I needed to burn some CDs, and had to reboot into Slackware to do it,
> since it has a 2.4-series kernel instead of a 2.6 (on my box). I
> type, as root, "reboot", and it immediately rebooted -- complete with
> completely forgetting to unmount the live filesystems!
>
> Mohjive (on IRC) reproduced this bug, and I think he said he had fixed
> it. So maybe it'll go into 014rc2.
>
I was only able to reproduce the bug, but I haven't found a working
solution for it, unfortunatly. The problem is that init doesn't update
utmp with the runlevel at boot. Therefore halt/reboot doesn't know
from which runlevel it's coming and just shuts down the system.
Now, the utmp in r/w root isn't updated at boot, but perhaps it
tries to do something before any partitions are mounted r/w.
If one keeps utmp between boots one can see that init correctly set
the runlevel to 6 last reboot and that the previos runlevel was 2. But
this is just the old records, from the reboot. If utmp is removed at
boot 'runlevel' would just return 'unknown'.
Anyone know enough about init to force a update of utmp?
--
/Jonas
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
More information about the gobolinux-users
mailing list