How to reboot from start scripts?
Derek Broughton
news at pointerstop.ca
Tue Oct 9 13:44:26 UTC 2007
Andrew Glen-Young wrote:
> On 09/10/2007, Josef Wolf <jw at raven.inka.de> wrote:
>> > > So there is really no way to properly shutdown/reboot from
>> > > single-user mode?
>> - shutdown -r now
>> - init 6
>> - reboot
>> - halt
>> - ctrl-alt-del
>> - CTRL-D
>>
>> _none_ of them reboots the system. They all just continue the boot
>> process on a half-mounted system. All of them (except CTRL-D) just leave
>> the single-user-shell running. The result is that the single-user-shell
>> races with getty/login for input from /dev/tty1.
>
> I missed the beginning of this thread, but your problem does not seem
> to be correct behaviour (or at least behaviour that I would expect).
>
> I have tested your scenario with the only machine that I have the
> luxury of rebooting at the moment: Dapper LTS server. I can confirm
> that Dapper Server does not have this issue. I could reboot the server
> in all the ways listed above without issue.
That's what I suspected - Dapper also doesn't use upstart, iirc. I think
this needs to be reported to upstart-devel and see what they say.
Oh, look. It already was:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/66002
Try: "reboot -f" - it doesn't look as if anybody is over-concerned about
changing the behaviour, since it's been open for a year.
--
derek
More information about the ubuntu-users
mailing list