Bug 2394510

Summary: unable to restart the system when other users are logged in
Product: [Fedora] Fedora Reporter: lnie <lnie>
Component: gnome-shellAssignee: GNOME SIG Unassigned <gnome-sig>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 43CC: adscvr, fmuellner, gnome-sig, jadahl, lruzicka, otaylor, robatino
Target Milestone: ---Keywords: AutomationTriaged
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-09-11 12:07:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2324223    
Attachments:
Description Flags
journal
none
screencast none

Description lnie 2025-09-11 08:02:02 UTC
1. Do a fresh installation with Fedora-Workstation-Live-43_Beta-1.3.x86_64.iso,
2. boot into the system, and create another user 
3. switch to that user session by clicking the "switch user" button
4. switch back and try to restart the system, gnome-shell claims that other users login let me choose "cancel" or "restart", I click "restart", nothing happens

Reproducible: Always

Comment 1 Fedora Admin user for bugzilla script actions 2025-09-11 08:02:12 UTC
Bug reports for this component on Red Hat Bugzilla are not actively monitored. Please consider reporting your issue directly to GNOME at https://gitlab.gnome.org/GNOME/ to improve the chances that your issue will be resolved. This issue should only be kept open if it:

1. Relates to Fedora packaging or integration with other Fedora components
2. Is required for Fedora release processes, such as blocker bugs and freeze exceptions

If this issue isn't needed for either of these two reasons, please:

 * create an issue with GNOME
 * add a link to the GNOME issue here
 * close this issue as CLOSED/UPSTREAM

Thank you!

Comment 2 lnie 2025-09-11 08:05:01 UTC
Created attachment 2106269 [details]
journal

Comment 3 lnie 2025-09-11 08:06:00 UTC
Created attachment 2106270 [details]
screencast

Comment 4 Fedora Blocker Bugs Application 2025-09-11 08:13:41 UTC
Proposed as a Blocker for 43-beta by Fedora user lnie using the blocker tracking app because:

 seems affect the criteria:
https://fedoraproject.org/wiki/Fedora_43_Beta_Release_Criteria#Shutdown,_reboot,_login,_logout

Comment 5 Lukas Ruzicka 2025-09-11 10:15:29 UTC
I cannot reproduce this on Beta RC3. For me, all following scenarios work fine:

 * an admin user restarts when non admin user logged in -> computer restarts
 * an admin user restarts when another admin user logged in -> computer restarts
 * a non admin user restarts when an admin user logged in -> computer restarts

I tested this on a freshly installed system.

Comment 6 lnie 2025-09-11 10:29:16 UTC
You need start an app(say,firefox) in the not-restarter user session,ie,
if you let userA restart the session,you need have at least an app opened in userB session.
Works with f42, btw.

Comment 7 lnie 2025-09-11 12:07:25 UTC
okay, try 3 more times, not able to reproduce anymore, closing.