Bug 1303126

Summary: Upgrade of selinux-policy-targeted emits warnings
Product: Red Hat Enterprise Linux 7 Reporter: Pete Houston <rhbugz>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Milos Malik <mmalik>
Severity: low Docs Contact:
Priority: low    
Version: 7.0CC: lvrabec, mgrepl, mmalik, plautrba, pvrabec, ssekidde
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 15:10:10 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:
Bug Depends On:    
Bug Blocks: 1393066    

Description Pete Houston 2016-01-29 15:53:06 UTC
Description of problem: An upgrade of selinux-policy-targeted via yum warned about 2 missing .pp files which it tried to remove. This is almost certainly benign, but worth at least recording here.

Version-Release number of selected component (if applicable):
Upgrading from 3.12.1-153.el7_0.13 to 3.13.1-60.el7

How reproducible: unknown - it has upgraded now.

Steps to Reproduce:
1. Have a running CentOS 7.0 system with selinux-policy and selinux-policy-targeted 3.12.1-153.el7_0.13 installed.
2. sudo yum update selinux-policy selinux-policy-targeted
3. Receive the warnings as selinux-policy-targeted upgrades in the cleanup phase

Actual results:

  Cleanup    : selinux-policy-targeted-3.12.1-153.el7_0.13.noarch           3/4 
warning: file /etc/selinux/targeted/modules/active/modules/vbetool.pp: remove failed: No such file or directory
warning: file /etc/selinux/targeted/modules/active/modules/pkcsslotd.pp: remove failed: No such file or directory
  Cleanup    : selinux-policy-3.12.1-153.el7_0.13.noarch                    4/4 

Expected results:

  Cleanup    : selinux-policy-targeted-3.12.1-153.el7_0.13.noarch           3/4 
  Cleanup    : selinux-policy-3.12.1-153.el7_0.13.noarch                    4/4 

Additional info:

Comment 5 errata-xmlrpc 2017-08-01 15:10:10 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.