Comment 18 for bug 1174272

Revision history for this message
Phillip Susi (psusi) wrote : Re: 'reboot now' reverting to maintenance mode

You are right, the man page does say it is only used with --force. Interestingly, it seems the reboot command from the old sysvinit package completely ignored this argument, not using it even with --force, despite the man page saying so. Upstart's reboot command did the same thing in precise. It was patched to try and fix this and actually do as the man page says, but it looks like the patch was wrong, and causes a shutdown without the -r switch to reboot when REBOOTCOMMAND is given without --force. What is more weird, is that the kernel doesn't actually use this REBOOTCOMMAND anyhow; it seems to have absolutely no purpose.