Bug 1206767

Summary: semanage fcontext -l breaks the rules order with sort
Product: Red Hat Enterprise Linux 6 Reporter: Filip Krska <fkrska>
Component: policycoreutilsAssignee: Petr Lautrbach <plautrba>
Status: CLOSED ERRATA QA Contact: Milos Malik <mmalik>
Severity: medium Docs Contact: Petr Bokoc <pbokoc>
Priority: medium    
Version: 6.6CC: cww, dwalsh, extras-qa, fkrska, jamespatterson, lvrabec, mgrepl, mmalik, pbokoc, plautrba, pvrabec, ssekidde
Target Milestone: rcKeywords: EasyFix, Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Fixed ordering in the output of "semanage fcontext -l" Previously, the "semanage fcontext -l" command did not print SELinux rules in the order in which the user added them and the *restorecon* utility used them. This could pose problems when managing SELinux rules, because the order in which the rules were displayed to the user did not match the order in which restorecon executed them. A patch has been applied to fix this problem, and "semanage fcontext -l" now displays the rules in the correct and expected order.
Story Points: ---
Clone Of: 1063371
: 1206769 (view as bug list) Environment:
Last Closed: 2016-05-10 17:03:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1063371    
Bug Blocks: 1172231    

Comment 8 errata-xmlrpc 2016-05-10 17:03:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-0791.html