Bug 137064

Summary: Upgrades of systems fail when selinux-policy-targeted is installed
Product: [Fedora] Fedora Reporter: Elliot Lee <sopwith>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: rawhideCC: walters
Target Milestone: ---Keywords: SELinux
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-26 14:47:36 UTC Type: ---
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:    
Bug Blocks: 130887    

Description Elliot Lee 2004-10-25 17:04:58 UTC
The %post script does load_policy of the old policy, because the
policy & file_contexts files don't get replaced.

Solution is s/(noreplace)// in the .spec file.

Comment 1 Colin Walters 2004-10-25 17:14:24 UTC
Just talked to Dan about this, the solution is to remove the bits from the
policy-targeted-sources postinst which does a make reload, which overwrites the
policy.18 and file_contexts files.

The idea is someone using selinux-policy-targeted-sources has to understand how
to do 'make reload'.

Comment 2 Daniel Walsh 2004-10-26 14:47:36 UTC
Fixed in selinux-policy-targeted-1.17.30.2.11