Bug 810380 - policycoreutils requires old librpm.so.2
Summary: policycoreutils requires old librpm.so.2
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: rawhide
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-05 19:41 UTC by Jerry James
Modified: 2012-04-06 06:24 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-04-06 06:24:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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