Bug 1380854

Summary: "Indepedent selinux policy" project (internal) documentation
Product: Red Hat Enterprise Linux 7 Reporter: Lukas Vrabec <lvrabec>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Milos Malik <mmalik>
Severity: high Docs Contact: Mirek Jahoda <mjahoda>
Priority: high    
Version: 7.4CC: ksrot, lvrabec, mgrepl, mmalik, plautrba, pvrabec, rkratky, ssekidde
Target Milestone: rcKeywords: Tracking
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1465824 (view as bug list) Environment:
Last Closed: 2017-08-01 15:15:11 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: 1393066    
Bug Blocks: 1377248, 1465824    

Comment 1 Lukas Vrabec 2017-03-13 15:50:22 UTC
Documentation part: 
https://mojo.redhat.com/docs/DOC-1131234 

Technical backround will be part of selinux-policy-3.13.1-128.el7 build. 
http://pkgs.devel.redhat.com/cgit/rpms/selinux-policy/commit/?h=rhel-7.4&id=1eeb9228fae08aa89899ceb0a858adb2d8c9e54c

In next days Kbase article will be created.

Comment 2 Milos Malik 2017-03-14 14:25:31 UTC
Looking into /usr/lib/rpm/macros.d/macros.selinux-policy file, which belongs to selinux-policy-3.13.1-129.el7.noarch package, following discrepancies were found:

* both echo and /bin/echo are used, is it intentional?
* %selinux_modules_uninstall macro is able to take [-s <policytype>] as parameter, but the value of <policytype> is ignored, because semodule is executed without appropriate -s parameter

Comment 4 Milos Malik 2017-06-28 06:52:05 UTC
Problems described in comment#2 still hold.

Comment 5 Milos Malik 2017-06-28 09:56:16 UTC
The problems described in comment#2 are filed separately as BZ#1465824 and will be handled in RHEL-7.5.

Comment 7 errata-xmlrpc 2017-08-01 15:15:11 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://access.redhat.com/errata/RHBA-2017:1861