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   
Whiteboard:
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):
policycoreutils-2.1.11-3.fc18.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Run restorecon on any file which does not have the correct type
2.
3.
  
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.