Bug 1260175 - SELinux prevents shutdown
SELinux prevents shutdown
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
All Linux
unspecified Severity urgent
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2015-09-04 12:12 EDT by Orion Poplawski
Modified: 2015-09-11 06:42 EDT (History)
5 users (show)

See Also:
Fixed In Version: selinux-policy-3.13.1-147.fc24
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-09-11 06:42:10 EDT
Type: Bug
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 Orion Poplawski 2015-09-04 12:12:25 EDT
Description of problem:

Power button:
Sep 04 10:10:58 vmrawhide.cora.nwra.com systemd-logind[775]: Power key pressed.
Sep 04 10:10:58 vmrawhide.cora.nwra.com systemd-logind[775]: Powering Off...
Sep 04 10:10:58 vmrawhide.cora.nwra.com audit[1]: USER_AVC pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='avc:  denied  { start } for auid=n/a uid=0 gid=0 path="/usr/lib/systemd/system/poweroff.target" cmdline="/usr/lib/systemd/systemd-logind" scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:object_r:power_unit_file_t:s0 tclass=service
                                                   exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'
Sep 04 10:10:58 vmrawhide.cora.nwra.com systemd-logind[775]: System is powering down.
Sep 04 10:10:58 vmrawhide.cora.nwra.com systemd-logind[775]: Failed to execute operation: Access denied

# shutdown -r now
Failed to start reboot.target: Access denied

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

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