Bug 396871

Summary: fixfiles -C file restore examines all filesystems
Product: [Fedora] Fedora Reporter: Michael Young <m.a.young>
Component: policycoreutilsAssignee: Daniel Walsh <dwalsh>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Current Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-07 20:17:15 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:
Attachments:
Description Flags
suggested patch none

Description Michael Young 2007-11-23 15:12:15 UTC
I noticed that updating selinux-policy-targeted was taking a very long time, and
noticed that a find command invoked by fixfiles was traversing our larger nfs
directories.
The problem seems to be that
sh -c "find $pattern" extra args
actually runs
find $pattern
and ignores the rest of the line. I suggest you move the closing quote to
include the remaining arguments, as in the attached patch.
I am seeing the bug with policycoreutils-2.0.31-15.fc8

Comment 1 Michael Young 2007-11-23 15:12:15 UTC
Created attachment 267561 [details]
suggested patch

Comment 2 Daniel Walsh 2007-12-17 22:50:11 UTC
Joseph can you investigate this one?

Comment 3 Daniel Walsh 2008-05-07 20:17:15 UTC
fixed in policycoreutils-2.0.34-7.fc8