Bug 237030 - Segfault in fixfiles/restorecon
Segfault in fixfiles/restorecon
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: policycoreutils (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Ben Levenson
:
Depends On:
Blocks: F7Test4
  Show dependency treegraph
 
Reported: 2007-04-18 18:51 EDT by Will Woods
Modified: 2007-11-30 17:12 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-04-19 14:52:54 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Will Woods 2007-04-18 18:51:09 EDT
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 19:49:28 EDT
Dan fixed this earlier today and already got me to tag it 
Comment 2 Daniel Walsh 2007-04-18 22:41:50 EDT
Fixed in policycoreutils-2.0.9-8.fc7
Comment 3 Will Woods 2007-04-19 14:52:54 EDT
Works for me.

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