Bug 794886 - Cannot shut down from GNOME with selinux-policy-3.10.0-88.fc17
Cannot shut down from GNOME with selinux-policy-3.10.0-88.fc17
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
Unspecified Unspecified
unspecified Severity high
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
Blocks: F17Alpha-accepted/F17AlphaFreezeExcept
  Show dependency treegraph
Reported: 2012-02-17 15:46 EST by Adam Williamson
Modified: 2012-02-20 21:23 EST (History)
6 users (show)

See Also:
Fixed In Version: selinux-policy-3.10.0-89.fc17
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-02-20 21:23:48 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Adam Williamson 2012-02-17 15:46:38 EST
It seems that shutdown from within GNOME is blocked by selinux-policy 88, with lots of these in ~/.xsession-errors:

gnome-session[1429]: WARNING: Unable to stop system: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: An SELinux policy prevents this sender from sending this message to this recipient, 0 matched rules; type="method_call", sender=":1.5" (uid=0 pid=730 comm="/usr/lib/systemd/systemd-logind ") interface="org.freedesktop.PolicyKit1.Authority" member="CheckAuthorization" error name="(unset)" requested_reply="0" destination="org.freedesktop.PolicyKit1" (uid=0 pid=806 comm="/usr/libexec/polkit-1/polkitd --no-debug ")

shutting down from a console works, and shutting down in permissive mode works.

selinux-policy 89 seems to resolve this, but I couldn't find an associated bug, and it hasn't been submitted as an update. So I'm filing a bug for the purposes of blocker/NTH tracking, and to ensure 89 gets submitted as an update.

This isn't Alpha blocking, per the criteria - we specifically require console shutdown to work, not desktop environment-triggered shutdown. But I'm proposing it as NTH, as it has an obvious impact and affects lives so cannot be entirely fixed with an update.
Comment 1 Adam Williamson 2012-02-17 15:47:35 EST
Dan, Miroslav - can one of you please submit selinux-policy-3.10.0-89.fc17 as an update? Thanks.
Comment 2 Tim Flink 2012-02-17 16:17:35 EST
I hit the same issue on a fully updated F17 RC2 install.

Installing selinux-policy-3.10.0-89.fc17 from koji fixes the problem for me.

+1 NTH - While it's not a blocker, it's a highly visible and annoying bug.
Comment 3 Daniel Walsh 2012-02-17 17:14:06 EST
Fixed in  selinux-policy-3.10.0-89.fc17
Comment 4 Fedora Update System 2012-02-17 17:15:39 EST
selinux-policy-3.10.0-89.fc17 has been submitted as an update for Fedora 17.
Comment 5 Fedora Update System 2012-02-17 21:25:32 EST
Package selinux-policy-3.10.0-89.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-89.fc17'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Comment 6 Robyn Bergeron 2012-02-20 19:00:17 EST
+1 NTH, i like avoidance of annoying and highly visible bugs :)
Comment 7 Adam Williamson 2012-02-20 19:01:11 EST
Okay, that's enough votes for acceptednth.

Fedora Bugzappers volunteer triage team
Comment 8 Fedora Update System 2012-02-20 21:23:48 EST
selinux-policy-3.10.0-89.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, 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.