How to reboot from start scripts?
Derek Broughton
news at pointerstop.ca
Tue Oct 9 16:37:55 UTC 2007
Josef Wolf wrote:
> On Tue, Oct 09, 2007 at 10:44:26AM -0300, Derek Broughton wrote:
>> Andrew Glen-Young wrote:
>> > 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.
>
> Ah, this work around finally sort of "works". Thanks, Derek!
>
> But I doubt "reboot -f" properly kills processes and properly
> syncs/umounts filesystems before doing the actual reboot.
Well, you'd have to test to be sure, but I actually _would_ expect it to.
It's not something I plan to do myself, as I practically never boot :-)
(Though I have a new HP laptop to install Kubuntu to, today, so I guess
I'll get a few opportunities).
--
derek
More information about the ubuntu-users
mailing list