Bug 1996998 - Cannot reboot/poweroff on login screen
Summary: Cannot reboot/poweroff on login screen
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-shell
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Florian Müllner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedBlocker
: 2001398 (view as bug list)
Depends On:
Blocks: F35BetaBlocker
TreeView+ depends on / blocked
 
Reported: 2021-08-24 08:03 UTC by Alessio
Modified: 2021-09-16 23:56 UTC (History)
21 users (show)

Fixed In Version: gnome-shell-41~rc.1-2.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-16 23:56:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME gdm issues 725 0 None None None 2021-09-06 21:55:18 UTC

Description Alessio 2021-08-24 08:03:01 UTC
Description of problem:

On the login screen, if I select "Restart.." or "Power Off..." nothing happens.


Version-Release number of selected component (if applicable):

gdm-41~alpha-2.fc35.x86_64
gnome-shell-41~beta-1.fc35.x86_64


How reproducible:

Always


Steps to Reproduce:
1. Start the computer
2. At the login screen select top right actions menu
3. Select "Power Off/Log Out" -> "Restart..."


Actual results:

Nothing happens.


Expected results:

The computer shoult reboot or power off.


Additional info:

This line appears in the logs as soon as I click on one of those actions (Restart/PowerOff):

Aug 24 10:02:29 tosh gnome-shell[4049]: Ignored exception from dbus method: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable

Comment 1 Fedora Blocker Bugs Application 2021-09-06 14:40:09 UTC
Proposed as a Blocker for 35-beta by Fedora user alciregi using the blocker tracking app because:

 Shutting down, rebooting, logging in and logging out must work using standard console commands and the mechanisms offered (if any) by all release-blocking desktops.

Comment 2 Adam Williamson 2021-09-06 15:16:22 UTC
*** Bug 2001398 has been marked as a duplicate of this bug. ***

Comment 3 Adam Williamson 2021-09-06 15:17:57 UTC
Updating component and upstream link from the dupe. Taking votes from the dupe at https://pagure.io/fedora-qa/blocker-review/issue/435 , +3, so marking accepted.

Comment 4 Chris Murphy 2021-09-06 21:55:18 UTC
Upstream closed gnomeshell#4599 and referenced gdm#725, changing component to reflect.

Comment 5 Geraldo Simião 2021-09-07 18:55:27 UTC
Yeah, just checked that it still occurs in the last workstation build: Fedora-Workstation-Live-x86_64-35-20210906.n.0.iso

Comment 6 Adam Williamson 2021-09-07 19:02:52 UTC
oh, has anyone checked if it's still the case with SELinux in permissive mode (boot with enforcing=0 or run `setenforce Permissive`)?

Comment 7 Adam Williamson 2021-09-07 22:38:54 UTC
I just did, and yes, it still happens. So doesn't look like this is SELinux-related. Can reproduce the bug with SELinux in both enforcing and permissive mode.

Comment 8 Ray Strode [halfline] 2021-09-14 13:31:22 UTC
Ben Cotton asked me to take a look at this. I'm doing a gnome-shell build now that I think should fix the problem.

Unfortunately, I'm a little time crunched today with a RHEL blocker, so I'd appreciate if someone else could test and confirm that it works.

Comment 9 Alessio 2021-09-14 13:51:00 UTC
(In reply to Ray Strode [halfline] from comment #8)
> Ben Cotton asked me to take a look at this. I'm doing a gnome-shell build
> now that I think should fix the problem.

This one? https://koji.fedoraproject.org/koji/buildinfo?buildID=1831567

Comment 10 sumantro 2021-09-14 14:38:43 UTC
❯ rpm -qa gnome-shell
gnome-shell-41~rc.1-2.fc35.x86_64

I verified the fix, after installing the koji task, I am able to restart and shutdown from the login screen

Comment 11 Ben Cotton 2021-09-14 14:59:48 UTC
Fix works for me, too. Slightly slower to respond than I'd expect, but that may just be my VM. In any case, I'd say the blocking behavior is resolved.

Comment 12 Alessio 2021-09-14 15:03:15 UTC
(In reply to Ben Cotton from comment #11)
> Fix works for me, too. Slightly slower to respond than I'd expect, but that
> may just be my VM. In any case, I'd say the blocking behavior is resolved.

Works for me.
I spotted a little delay too, and I'm on bare metal.

Comment 13 Fedora Update System 2021-09-14 15:08:00 UTC
FEDORA-2021-d0b0be7c4e has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-d0b0be7c4e

Comment 14 Geraldo Simião 2021-09-14 16:40:14 UTC
with the fix https://bodhi.fedoraproject.org/updates/FEDORA-2021-d0b0be7c4e (gnome-shell-41~rc.1-2.fc35) now I can succesfully shutdown or reboot form the login screen.

Comment 15 Geraldo Simião 2021-09-14 16:41:17 UTC
tested on a UEFI VM (kvm virt-manager)

Comment 16 Fedora Update System 2021-09-14 18:48:54 UTC
FEDORA-2021-d0b0be7c4e has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-d0b0be7c4e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-d0b0be7c4e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 17 Lukas Ruzicka 2021-09-15 06:44:15 UTC
I can confirm that this update fixes the issue for me and you can initiate the poweroff or reboot process from the login screen.

Comment 18 Michael Catanzaro 2021-09-15 17:40:16 UTC
Hi, we forgot to push this to rawhide. It will be back for F36 if we aren't careful!

Comment 19 Geraldo Simião 2021-09-16 03:37:41 UTC
So, update is now UNPUSHED...

Comment 20 Adam Williamson 2021-09-16 06:28:17 UTC
yes, for reasons I explained in it. I'm working on sorting that out.

Comment 21 Fedora Update System 2021-09-16 15:29:52 UTC
FEDORA-2021-d0b0be7c4e has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-d0b0be7c4e

Comment 22 Fedora Update System 2021-09-16 17:00:42 UTC
FEDORA-2021-d0b0be7c4e has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-d0b0be7c4e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-d0b0be7c4e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 23 Fedora Update System 2021-09-16 23:56:08 UTC
FEDORA-2021-d0b0be7c4e has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.