Bug 418603 - If unattended-upgrades, or another daemon, currently has a shutdown lock the session gets stuck in a black void when 'shutting down'
Summary: If unattended-upgrades, or another daemon, currently has a shutdown lock the ...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Session Management (show other bugs)
Version: 5.24.0
Platform: Neon Linux
: NOR major
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-08 01:58 UTC by The Feren OS Dev
Modified: 2025-02-08 03:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description The Feren OS Dev 2020-03-08 01:58:46 UTC
SUMMARY
When unattended-upgrades is running a scheduled update for your system, which results in a shutdown lock, or a different background service has a shutdown lock in place, when the user tries to shut down from the Plasma Desktop the session reaches the point where it should end (the black screen) but the session never ends automatically, resulting in the user becoming stuck in that black void indefinitely until they go into TTY or force a power off by other means.

STEPS TO REPRODUCE
1. Enable unattended-upgrades, have some updates available and turn on the computer on a day that unattended-upgrades is scheduled to run on
2. Log in, and then try shutting down from the desktop

OBSERVED RESULT
The desktop session never ends, after getting to the point where it's ready to immediately end the desktop session, leaving users with just a black screen and their cursor left from what is left of that desktop session.

EXPECTED RESULT
The session will at least end, and/or the desktop will stay running until the shutdown lock is no longer in effect in which case it should THEN start the part of the log out process that quits plasmashell, etc.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE neon 5.18.2
(available in About System)
KDE Plasma Version: 5.18.2
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1

ADDITIONAL INFORMATION
If I recall correctly, GNOME doesn't have this issue but it does require authentication to shutdown or restart when a shutdown lock is in effect.
Comment 1 Nate Graham 2025-01-09 21:53:51 UTC
Sorry it took us so long to get to this. Are you still able to reproduce the issue in Plasma 6.2.5 or later? Thanks!
Comment 2 The Feren OS Dev 2025-01-09 21:55:33 UTC
(In reply to Nate Graham from comment #1)
> Sorry it took us so long to get to this. Are you still able to reproduce the
> issue in Plasma 6.2.5 or later? Thanks!

Remind me in March and I'll have time to check in 6.2
Comment 3 Bug Janitor Service 2025-01-24 03:46:54 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2025-02-08 03:47:27 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.