How to reboot from start scripts?

Josef Wolf jw at raven.inka.de
Tue Oct 9 16:01:52 UTC 2007


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.




More information about the ubuntu-users mailing list