Bug 1381112

Summary: [Errno 2] No such file or directory: '/etc/selinux/targeted/contexts/files
Product: Red Hat Enterprise Virtualization Manager Reporter: Douglas Schilling Landgraf <dougsland>
Component: ovirt-nodeAssignee: Douglas Schilling Landgraf <dougsland>
Status: CLOSED CURRENTRELEASE QA Contact: jianwu <jiawu>
Severity: high Docs Contact:
Priority: high    
Version: 3.6.9CC: amarchuk, cshao, dguo, fdeutsch, gklein, huzhao, lsurette, lvrabec, mgoldboi, ycui, ykaul
Target Milestone: ovirt-3.6.10Keywords: ZStream
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: rhev-hypervisor7-7.3-20161007.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1395778 (view as bug list) Environment:
Last Closed: 2017-01-23 14:12:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Douglas Schilling Landgraf 2016-10-03 03:38:16 UTC
Description of problem:

# audit2allow -a
[Errno 2] No such file or directory: '/etc/selinux/targeted/contexts/files/file_contexts.local'

Version-Release number of selected component (if applicable):

rhev-hypervisor7-7.3-20160923.2

How reproducible:
- Install rhev-hypervisor7-7.3-20160923.2
- Run audit2allow -a

Comment 1 Douglas Schilling Landgraf 2016-10-07 14:07:34 UTC
Lukas, this could be related to bz#1381588 ?

Thanks!

Comment 2 Douglas Schilling Landgraf 2016-10-08 04:41:56 UTC
(In reply to Douglas Schilling Landgraf from comment #1)
> Lukas, this could be related to bz#1381588 ?
> 
> Thanks!

Removing the needinfo, getting new selinux-policy package fixed the issue:
    -selinux-policy-3.13.1-99.el7.src.rpm
    +selinux-policy-3.13.1-102.el7.src.rpm

Thanks!

Comment 3 jianwu 2016-10-10 01:48:52 UTC
# audit2allow -a


Version-Release number of selected component (if applicable):

rhev-hypervisor7-7.3-201601007.0

How reproducible:
- Install rhev-hypervisor7-7.3-20161007.0
- Run audit2allow -a

Result:

After run audit2allow -a, there is no output.