Bug 810380

Summary: policycoreutils requires old librpm.so.2
Product: [Fedora] Fedora Reporter: Jerry James <loganjerry>
Component: policycoreutilsAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-06 06:24:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jerry James 2012-04-05 19:41:16 UTC
Description of problem:
I just updated a Rawhide VM:

Updating   : selinux-policy-targeted-3.10.0-110.fc17.noarch              4/33
/var/tmp/rpm-tmp.3ojzIp: line 23:  2493 Segmentation fault      (core dumped) /sbin/restorecon -R /root /var/log /var/run /etc/passwd* /etc/group* 2> /dev/null

# gdb /usr/sbin/restorecon
Reading symbols from /usr/sbin/restorecon...
warning: Unable to open "librpm.so.2" (librpm.so.2: cannot open shared object file: No such file or directory), missing debuginfos notifications will not be displayed

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Run restorecon on any file which does not have the correct type
Actual results:
Restorecon apparently tries to dlopen the old librpm.so.2 and fails.

Expected results:
Restorecon should use the new librpm.so.3.

Additional info:

Comment 1 Miroslav Grepl 2012-04-06 06:24:02 UTC
Fixed in the latest policycoreutils.