[systemd-devel] systemd hang on reboot

Albert Strasheim fullung at gmail.com
Tue Apr 3 20:01:05 PDT 2012


Hello

On Mon, Apr 2, 2012 at 10:33 PM, Lennart Poettering
<lennart at poettering.net> wrote:
>> What is supposed to happen next in the shutdown process? Is there any
>> way we can get more debugging info to find out why it is hanging?
> If debug mode is enabled systemd will dump the transaction it is about
> to execute before it executes it. You should look for that output
> between "Trying to enqueue...." till "Enqueued..." for the specific
> shutdown target you are using (poweroff.target most likely).
> Then, strike of that list everything that is successfully shutdown and
> you should have an idea what is remaining.

Thanks for the help.

If I understand correctly, our problem was caused by an OnFailure=
service that didn't have DefaultDependencies=no, so it was trying to
bring the system back up while it was shutting down.

Cheers

Albert


More information about the systemd-devel mailing list