Re: reboot/halt/shutdown does nothing
- To: Zhang Weiwu <zhangweiwu@realss.com>
- Cc: debian-user@lists.debian.org
- Subject: Re: reboot/halt/shutdown does nothing
- From: "Karl E. Jorgensen" <karl@jorgensen.org.uk>
- Date: Tue, 18 Feb 2014 09:46:59 +0000
- Message-id: <20140218094659.GA21417@hawking>
- In-reply-to: <alpine.DEB.2.10.1402181125310.4794@lyonesse>
- References: <alpine.DEB.2.10.1402171629080.2666@lyonesse> <20140217200412.GC9715@hawking> <alpine.DEB.2.10.1402181125310.4794@lyonesse>
Hi
On Tue, Feb 18, 2014 at 11:31:49AM +0800, Zhang Weiwu wrote:
>
>
> On Mon, 17 Feb 2014, Karl E. Jorgensen wrote:
>
> >So init knows that you want to shut down/reboot..
> >
> >My guess is that one of the "early" init scripts are hanging.
>
> Thank you for the hint. I followed your test method and the test
> result show this problem has nothing to do with a hanging service.
>
> The first in asciibetic order is 'apache2'.
Is it? I may be misreading you - and if so I apologize
beforehand. But I mean "ascibetically" to mean the order of the
symlink names, including the "K" bit - e.g. "K02alsa-utils". Basically the order of
ls -1 /etc/rc6.d/*
> In my past years I came across many services that refuses to die,
> and they were killed after timed out, so normally init daemon knows
> how to kill without grace.
Hm. Fair point. Unfortunately, in my experience, a hanging init script
has halted shutdown many times for me - perhaps there's a setting
somewhere I can tweak.
--
Karl E. Jorgensen
Reply to: