Long delay while rebooting after applying an automatic upgrade
This got reported for the 4.0~beta1 → 4.0~beta2 upgrade. I don't know yet if 3.x is affected.
The behavior that the first shutdown after the incremental upgrade takes much longer was there again. I pressed Esc and its one line which is constantly changing between: (1 of 2) A stop job is running for User Manager for UID 112 ( x / 2 min) and (2 of 2) A stop job is running for User Manager for UID 1000 ( x / 2 min) The x is counting up till 1 min 30 s then: [ok] Stopped User Manager for UID 112. and the shutdown process is going on. On every other shutdown the whole shutdown process is done after a few seconds but after an incremental update it takes minimum one and a half minutes so i think at least after an upgrade the user should see that his computer isnt done with shutting down after a few seconds.
- Target version deleted (
UID 112 is
Debian-gdm so I was tempted to blame the crazy GDM hacks I've introduced in 4.0~beta2. Except this problem happens while still running 4.0~beta1, so this can't be the explanation.
Besides, the user says "was there again", which suggests they've seen the problem in earlier automatic upgrades. Given that's the first time we offer automatic upgrades on 4.x, it implies they've seen it on 3.x ⇒ not a regression and not a 4.0 release blocker.
Regardless, something wrong is happening that makes
user\@112.service take 1.5 minutes to stop. Next step to investigate this would be, after applying an automatic upgrade but before restarting, to:
- check what's running in this CGroup
- try to stop
user\@112.servicemanually and see what part of it does not stop quickly