Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1548020 - Broken dependencies for libsemanage
Broken dependencies for libsemanage
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libsemanage (Show other bugs)
7.4
All Linux
unspecified Severity unspecified
: rc
: ---
Assigned To: Vit Mojzis
Milos Malik
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-02-22 09:34 EST by Marko Myllynen
Modified: 2018-04-10 12:32 EDT (History)
11 users (show)

See Also:
Fixed In Version: libsemanage-2.5-11.el7
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-04-10 12:31:59 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Fix (691 bytes, application/mbox)
2018-02-22 11:57 EST, Vit Mojzis
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0905 None None None 2018-04-10 12:32 EDT

  None (edit)
Description Marko Myllynen 2018-02-22 09:34:44 EST
Description of problem:
[root@infra02 selinux]# rpm -Fvh *rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:libsemanage-2.5-10.el7           ################################# [ 25%]
   2:libsemanage-python-2.5-10.el7    ################################# [ 50%]
Cleaning up / removing...
   3:libsemanage-python-2.5-8.el7     ################################# [ 75%]
   4:libsemanage-2.5-8.el7            ################################# [100%]
[root@infra02 selinux]# rpm -qa | grep libsepol
libsepol-2.5-6.el7.x86_64
[root@infra02 selinux]# semodule -X 400 -i /var/lib/pcp/selinux/pcpupstream.pp
semodule: relocation error: /lib64/libsemanage.so.1: symbol sepol_ibendport_modify, version LIBSEPOL_1.0 not defined in file libsepol.so.1 with link time reference
<downloaded latest libsepol.rpm>
[root@infra02 selinux]# rpm -Fvh *rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:libsepol-2.5-8.1.el7             ################################# [ 50%]
Cleaning up / removing...
   2:libsepol-2.5-6.el7               ################################# [100%]
[root@infra02 selinux]# semodule -X 400 -i /var/lib/pcp/selinux/pcpupstream.pp
[root@infra02 selinux]#
Comment 2 Vit Mojzis 2018-02-22 11:57 EST
Created attachment 1399486 [details]
Fix
Comment 3 Vit Mojzis 2018-02-22 11:59:51 EST
Thank you for reporting the issue.
libsemanage is indeed missing dependencies on libsepol and libselinux. 
Patch included.
Comment 5 Lukas Slebodnik 2018-02-27 04:44:01 EST
(In reply to Vit  Mojzis from comment #2)
> Created attachment 1399486 [details]
> Fix

Just FYI. It is just a workaround for wrong usage of version script (libsepol.map) in upstream.

New symbols (functions) should not be added to already released version e.g. LIBSEPOL_1.1 and LIBSEPOL_1.0. Otherwise rpm/dpkg cannot notice difference between compatible changes (just adding functions to library).

More info in:
https://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_node/ld_25.html
or longer version in https://www.akkadia.org/drepper/dsohowto.pdf
Comment 6 Milos Malik 2018-02-28 00:58:00 EST
I cannot add the bug into erratum, if it's ASSIGNED. Please switch it to MODIFIED.
Comment 10 Vit Mojzis 2018-03-27 04:40:10 EDT
*** Bug 1548509 has been marked as a duplicate of this bug. ***
Comment 12 errata-xmlrpc 2018-04-10 12:31:59 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0905

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