Need help debugging shutdown issues
Nikolaus Rath
Nikolaus at rath.org
Fri Nov 7 03:35:59 GMT 2014
On 11/06/2014 07:15 PM, Michael Biebl wrote:
> Am 07.11.2014 um 02:32 schrieb Nikolaus Rath:
>> Michael Biebl <biebl-8fiUuRrzOP0dnm+yROfE0A at public.gmane.org> writes:
>
>
>>> Try running "systemctl stop networking.service" before you
>>> shutdown/reboot. This service seems to be hanging in "ifdown -a".
>>> Might be dhclient or ifdown.d hook script causing a dead lock.
>>
>> I tried that, but it still hangs.
>
> Ok, please include, again, the output of systemctl status, list-jobs
> and ps aux from the debug shell so we see which job systemd is blocking
> on and which processes are running.
Well, that's the problem. If I'm able to access the debug shell, then
the system reboots fine. If the reboot is frozen, I don't seem to be
able to switch to tty9 anymore either.
I also tried running an sshd process in the debug shell (to see if I can
still reach the system remotely when it hangs), but the connection got
closed when I ran the systemctl command - why might that be? I had hoped
that processes spawned from the debug-shell would not get killed?
(I first stopped the regular ssh server and networking using systemctl,
then manually brought up networking in the debug shell as well).
Best,
-Nikolaus
--
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F
»Time flies like an arrow, fruit flies like a Banana.«
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 998 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20141106/817aa5ac/attachment-0002.sig>
More information about the Pkg-systemd-maintainers
mailing list