Bug 1260175 - SELinux prevents shutdown
Summary: SELinux prevents shutdown
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: All
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-04 16:12 UTC by Orion Poplawski
Modified: 2015-09-11 10:42 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.13.1-147.fc24
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-11 10:42:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Orion Poplawski 2015-09-04 16:12:25 UTC
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):
selinux-policy-3.13.1-146.fc24.noarch


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