Comment 1 for bug 93443

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

I thought that problem here is that sysvinit "knows" the runlevel, because it's a variable that it stores; however I see that halt actually just checks the utmp file, so we could use the same trick.

Thanks for that;

I don't agree that the symlinks need to be the right way around though; reboot() is the syscall, so that's what the binary is named, instead of halt. This is actually because I intend to produce non-compat variants in the future that just do the right thing. It doesn't make much of a difference for compatibility.