[systemd-devel] How to debug stop job running into time-out?

Mantas Mikulėnas grawity at gmail.com
Wed Oct 24 16:04:17 UTC 2018


On Wed, Oct 24, 2018 at 6:07 PM Paul Menzel <
pmenzel+systemd-devel at molgen.mpg.de> wrote:

> Dear systemd folks,
>
>
> With Debian Sid/unstable (systemd 239) and GDM 3.30.1, sometimes
> powering off the system, it takes two minutes and the message
> below is shown on the screen.
>
> > A stop job is running for User Manager for UID 1000 (1min 3s / 1 min 59s)
>
> What ways are there to debug this issue. The problem is, it’s
> not always reproducible.
>
> Is there a key combination for dumping the necessary information?
> Like what process(?) cannot be stopped?
>

My method for that is:
1. enable debug-shell.service;
2. repeat reboot/shutdown until reproduced;
3. Alt+F9 and try to type `sudo -u '#1000' XDG_RUNTIME_DIR='/run/user/1000'
systemctl --user list-jobs` through the message

-- 
Mantas Mikulėnas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20181024/cd9702c5/attachment.html>


More information about the systemd-devel mailing list