Bug 994437

Summary: Exclusion using fixfiles_exclude_dirs config file doesn't work when particular dir passed to fixfiles
Product: Red Hat Enterprise Linux 7 Reporter: Michal Trunecka <mtruneck>
Component: policycoreutilsAssignee: Daniel Walsh <dwalsh>
Status: CLOSED CURRENTRELEASE QA Contact: Michal Trunecka <mtruneck>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.0CC: ebenes
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: policycoreutils-2.1.14-85 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 10:08: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:

Description Michal Trunecka 2013-08-07 09:55:35 UTC
Description of problem:
The directories listed in /etc/selinux/fixfiles_exclude_dirs are excluded only when fixfiles is called without defining particualr directory to relabel.

e.g. If /var/log is listed as excluded, then it is excluded only when called

# fixfiles ceck/restore/relabel/verify

but not when called

# fixfiles ceck/restore/relabel/verify /var

Which I would expect. The exclusion even works with -C option.



Version-Release number of selected component (if applicable):
policycoreutils-2.1.14-70.el7.x86_64


Expected results:
Config file exclusion works in both cases or documentation is altered to make this clear.

Comment 2 Daniel Walsh 2013-10-04 22:26:24 UTC
Fixed in policycoreutils-2.1.14-85

Comment 4 Ludek Smid 2014-06-13 10:08:00 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.