[systemd-devel] Debugging "A stop job is running" shutdown messages
Mantas Mikulėnas
grawity at gmail.com
Tue Sep 11 19:17:41 UTC 2018
On Tue, Sep 11, 2018 at 10:06 PM Evan Klitzke <evan at eklitzke.org> wrote:
> When I power off my laptop, I often (but not always) have a long
> shutdown process. When this happens, the console says "A stop job is
> running for User Manager for UID 1000" with a 1m59s timeout, and I have
> to wait for that timeout before my computer shuts down. How can I debug
> which service is causing this issue?
>
Have debug-shell.service running before poweroff. During the hang, switch
to tty9 and run:
sudo -u evan XDG_RUNTIME_DIR=/run/user/1000 systemctl --user list-jobs
--
Mantas Mikulėnas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20180911/fddbbafb/attachment.html>
More information about the systemd-devel
mailing list