Bug 1069179 - SELinux prevents proper shutdown of my system
Summary: SELinux prevents proper shutdown of my system
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-24 12:12 UTC by Elad Alfassa
Modified: 2014-02-27 21:16 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-02-27 21:16:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Log from shutdown (32.59 KB, text/plain)
2014-02-24 12:12 UTC, Elad Alfassa
no flags Details

Description Elad Alfassa 2014-02-24 12:12:14 UTC
Created attachment 866947 [details]
Log from shutdown

After upgrading to rawhide, I noticed I could not power off my system: it hangs after "Reached target shutdown".

If you look at the attached log, you'd see permission denied error for "swapoff" and "kill".

If I execute "setenforce 0" before shutdown, the system shuts down properly.

Comment 1 Daniel Walsh 2014-02-24 21:24:57 UTC
I think this should be fixed in the latest policy.

selinux-policy-3.13.1-26.fc21.noarch

Comment 2 Andre Robatino 2014-02-24 23:53:51 UTC
Still broken with the above version. Running "setenforce 0" before shutdown allows shutting down properly.

Comment 3 Andre Robatino 2014-02-25 18:29:44 UTC
Seems to shut down properly with selinux-policy-3.13.1-27.fc21.noarch (from the 20140225 rawhide push). Elad, can you confirm? If so, this can be closed again.

Comment 4 Andre Robatino 2014-02-27 21:16:12 UTC
Not seeing the problem myself anymore, closing.


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