Bug 237053 - selinux-policy-targeted: segfault on upgrade
Summary: selinux-policy-targeted: segfault on upgrade
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-04-19 03:16 UTC by Bernard Johnson
Modified: 2007-11-30 22:12 UTC (History)
1 user (show)

Fixed In Version: Current
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-08-22 14:14:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bernard Johnson 2007-04-19 03:16:07 UTC
Description of problem:
Got this message on a yum upgrade:

  Updating  : selinux-policy-targeted      ##################### [ 77/238] 
/sbin/fixfiles: line 62: 13126 Done                    sed -r -e 's,:s0, ,g' $FC
     13127                       | sort -u
     13128 Done(1)                 | /usr/bin/diff -b ${PREFCTEMPFILE} -
     13129                       | grep '^[<>]'
     13130                       | cut -c3-
     13131                       | grep ^/
     13132                       | egrep -v '(^/home|^/root|^/tmp|^/dev)'
     13133                       | sed -r -e 's,[[:blank:]].*,,g' -e
's|\(([/[:alnum:]]+)\)\?|{\1,}|g' -e 's|([/[:alnum:]])\?|{\1,}|g' -e
's|\?.*|*|g' -e 's|\(.*|*|g' -e 's|\[.*|*|g' -e 's|\.\*.*|*|g' -e 's|\.\+.*|*|g'
     13134                       | sort -u
     13135                       | sort -d
     13136                       | while read pattern; do
    if ! echo "$pattern" | grep -q -f ${TEMPFILE} 2> /dev/null; then
        echo "$pattern"; case "$pattern" in 
            *"*")
                echo "$pattern" | sed 's,\*$,,g' >> ${TEMPFILE}
            ;;
        esac;
    fi;
done
     13137 Done(1)                 | while read pattern; do
    find $pattern ! \( -fstype ext2 -o -fstype ext3 -o -fstype jfs -o -fstype
xfs \) -prune -o \( -wholename /home -o -wholename /root -o -wholename /tmp
-wholename /dev \) -prune -o -print;
done 2> /dev/null
     13138 Segmentation fault      | ${RESTORECON} $2 -v -f -
  Updating  : yelp                         ##################### [ 78/238]

Version-Release number of selected component (if applicable):
selinux-policy-targeted-2.5.12-5.fc7

Comment 1 Dennis Gilmore 2007-04-19 12:50:25 UTC
updating to selinux-policy-targeted-2.5.12-5.fc7 i got the same segfault

 


Comment 2 Daniel Walsh 2007-04-19 13:16:25 UTC
Fixed in policycoreutils-2.0.9-7.fc7

Comment 3 Daniel Walsh 2007-08-22 14:14:18 UTC
Should be fixed in the current release



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