Bug 810380 - policycoreutils requires old librpm.so.2
policycoreutils requires old librpm.so.2
Product: Fedora
Classification: Fedora
Component: policycoreutils (Show other bugs)
All Linux
unspecified Severity high
: ---
: ---
Assigned To: Daniel Walsh
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-04-05 15:41 EDT by Jerry James
Modified: 2012-04-06 02:24 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-04-06 02:24:02 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jerry James 2012-04-05 15:41:16 EDT
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 02:24:02 EDT
Fixed in the latest policycoreutils.

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