![](https://seccdn.libravatar.org/avatar/1ad54339f4feb0c426823b0081c46667.jpg?s=120&d=mm&r=g)
If this has been asked before, I’ve missed it and apologise. It’s certainly been asked elsewhere, though with no clear answer. Frequently, but not always, when closing (or rebooting) Leap 15.2, the shutdown stalls for 90 seconds with a message “A stop job is running for Session 2 of user <xxxx>”, together with a register counting down from 1 minute 30 seconds. When the countdown reaches zero the shutdown completes. There’s no other diagnostic information. I can’t invoke a terminal at that point to establish what’s what. But I have captured what could be useful info with systemctl -b -<x> across boots/shutdowns. Case 1. Excerpt from journal, “clean” shutdown, no significant delay: May 09 13:58:02 Corgi systemd[1]: Started Session 2 of user robin. May 09 15:08:45 Corgi systemd[1]: Stopping Session 2 of user robin. May 09 15:08:45 Corgi systemd-logind[1108]: Session 2 logged out. Waiting for processes to exit. May 09 15:08:48 Corgi systemd[1]: Stopped Session 2 of user robin. Case 2. Excerpt from journal, shutdown with "stop job running" and 90-sec delay: May 09 15:09:52 Corgi systemd[1]: Started Session 2 of user robin. May 09 15:15:51 Corgi systemd[1]: Stopping Session 2 of user robin. May 09 15:15:51 Corgi systemd-logind[1064]: Session 2 logged out. Waiting for processes to exit. May 09 15:17:21 Corgi systemd[1]: Stopped Session 2 of user robin. The timestamps of the last two lines in Case 1 show an inconsequential 3 second delay. Those for Case 2 show the full 90 second wait, seeming also to finger systemd-logind as the culprit. The most common suggestion in other forums is to reduce the default for DefaultTimeoutStopSec in /etc/systemd/system.conf from 90 seconds to 10. This works, but it only addresses the symptom, not the cause. Assuming the problem does lie somehow with systemd-logind on shutdown, is there something else I can do to fix it? Anyone? -- Robin K Wellington "Harbour City" New Zealand