Bug 735885

Summary: selinux-policy-targeted yum error with upgrade to Rawhide
Product: [Fedora] Fedora Reporter: Tom <thomasbelvin>
Component: libselinuxAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-06 15:46:51 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:

Description Tom 2011-09-06 02:13:37 UTC
Description of problem:
yum output with upgrade from Fedora 16 nightly to Rawhide:

  Updating   : selinux-policy-targeted-3.10.0-24.fc17.noarch         352/983 
/sbin/fixfiles: line 151: 14428 Done                    sed -r -e 's,:s0, ,g' $FC
     14429                       | sort -u
     14430 Exit 1                  | /usr/bin/diff -b ${PREFCTEMPFILE} -
     14431                       | grep '^[<>]'
     14432                       | cut -c3-
     14433                       | grep ^/
     14434                       | egrep -v '(^/home|^/root|^/tmp|^/dev)'
     14435                       | 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'
     14436                       | sort -u
     14437                       | sort -d
     14438 Broken pipe             | while read pattern; do
    if ! echo "$pattern" | grep -q -f ${TEMPFILE} 2> /dev/null; then
        echo "$pattern"; case "$pattern" in 
            *"*")
                echo "$pattern" | sed -e 's,^,^,' -e 's,\*$,,g' >> ${TEMPFILE}
            ;;
        esac;
    fi;
done
     14439 Segmentation fault      (core dumped) | ${RESTORECON} -f - -R -p `exclude_dirs`
/var/tmp/rpm-tmp.Gq6V2K: line 23: 14480 Segmentation fault      (core dumped) /sbin/restorecon -R /root /var/log /var/run 2> /dev/null

Version-Release number of selected component (if applicable):
selinux-policy-targeted-3.10.0-24.fc17.noarch

How reproducible:
Tried once

Steps to Reproduce:
1.Install KDE Live image from Fedora 16 nightly
2.distro-sync to Rawhide 
3.yum reports upgrade error with selinux-policy-targeted
  
Actual results:


Expected results:


Additional info:

Comment 1 Daniel Walsh 2011-09-06 15:46:51 UTC
Fixed in libselinux-2.1.5-3.fc17