Re: Debugging "A stop job is running" shutdown messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 11, 2018 at 10:06 PM Evan Klitzke <evan@xxxxxxxxxxxx> 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
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux