Bug 396871 - fixfiles -C file restore examines all filesystems
Summary: fixfiles -C file restore examines all filesystems
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: 8
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-23 15:12 UTC by Michael Young
Modified: 2008-05-07 20:17 UTC (History)
0 users

Fixed In Version: Current
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-07 20:17:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
suggested patch (701 bytes, patch)
2007-11-23 15:12 UTC, Michael Young
no flags Details | Diff

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


Note You need to log in before you can comment on or make changes to this bug.