Bug 237030

Summary: Segfault in fixfiles/restorecon
Product: [Fedora] Fedora Reporter: Will Woods <wwoods>
Component: policycoreutilsAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dwalsh, pgraner
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-04-19 18:52:54 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:
Bug Depends On:    
Bug Blocks: 236601    

Description Will Woods 2007-04-18 22:51:09 UTC
with policycoreutils-2.0.9-5.fc7, any invocation of fixfiles yields the
following message:
/sbin/fixfiles: line 130:  3954 Broken pipe             find $d ! \( -fstype
ext2 -o -fstype ext3 -o -fstype jfs -o -fstype xfs \) -prune -o -print
      3955 Segmentation fault      | ${RESTORECON} ${OUTFILES} ${FORCEFLAG} $*
-f - 2>&1 >> $LOGFILE

Since pid 3954 is getting the Broken pipe, and 3955 is segfaulting, I assume the
segfault is in restorecon. The line that causes the segfault is:

restorecon -p -f -

The input file list appears normal.

Comment 1 Jeremy Katz 2007-04-18 23:49:28 UTC
Dan fixed this earlier today and already got me to tag it 

Comment 2 Daniel Walsh 2007-04-19 02:41:50 UTC
Fixed in policycoreutils-2.0.9-8.fc7

Comment 3 Will Woods 2007-04-19 18:52:54 UTC
Works for me.