RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2119896 - device-mapper-multipath includes code with incompatible licenses
Summary: device-mapper-multipath includes code with incompatible licenses
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: device-mapper-multipath
Version: 9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Ben Marzinski
QA Contact: Lin Li
URL:
Whiteboard:
Depends On: 2119887
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-19 20:03 UTC by Ben Marzinski
Modified: 2022-11-15 13:04 UTC (History)
8 users (show)

Fixed In Version: device-mapper-multipath-0.8.7-11.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2119887
Environment:
Last Closed: 2022-11-15 11:16:24 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-131772 0 None None None 2022-08-19 20:09:40 UTC
Red Hat Product Errata RHBA-2022:8313 0 None None None 2022-11-15 11:16:41 UTC

Description Ben Marzinski 2022-08-19 20:03:41 UTC
+++ This bug was initially created as a clone of Bug #2119887 +++

Description of problem:
multipathd links against readline which, since its adoption by device-mapper-multipath, has been relicensed to GPL-3+. multipathd also use code copied from the linux kernel, which is licensed GPL-2. To resolve the license incompatibility, switch from readline to libedit, which has a compatibility wrapper that makes it a drop-in replacement for readline, and a BSD license compatible with GPLv2.

--- Additional comment from Ben Marzinski on 2022-08-19 20:01:42 UTC ---

There should be no functional change in multipathd. All that is necessary is to verify that installing the new packages installs libedit if not already installed, that

# ldd /sbin/multipathd

no longer includes libreadline and includes libedit instead, and that the interactive prompt you get from running

# multipathd -k

works as before (allowing you to edit what you're typing in).

Comment 4 Lin Li 2022-08-24 11:46:01 UTC
Reproduced on device-mapper-multipath-0.8.7-10.el9
[root@rdma-qe-42 ~]# rpm -qa | grep multipath
device-mapper-multipath-libs-0.8.7-10.el9.x86_64
device-mapper-multipath-0.8.7-10.el9.x86_64

[root@rdma-qe-42 ~]# ldd /sbin/multipathd | grep libreadline
	libreadline.so.8 => /lib64/libreadline.so.8 (0x00007f4e0ac90000)

[root@rdma-qe-42 ~]# ldd /sbin/multipathd | grep libedit


Verified on device-mapper-multipath-0.8.7-11.el9
[root@storageqe-05 ~]# rpm -qa | grep multipath
device-mapper-multipath-libs-0.8.7-11.el9.x86_64
device-mapper-multipath-0.8.7-11.el9.x86_64
device-mapper-multipath-devel-0.8.7-11.el9.x86_64

[root@storageqe-05 ~]# ldd /sbin/multipathd | grep libreadline
[root@storageqe-05 ~]# ldd /sbin/multipathd | grep libedit
	libedit.so.0 => /lib64/libedit.so.0 (0x00007f19635db000)



Test result: new package no longer includes libreadline and includes libedit instead.

Comment 7 Lin Li 2022-08-25 02:48:50 UTC
Verified on device-mapper-multipath-0.8.7-11.el9 according to comment 4. Move to verified.

Comment 9 errata-xmlrpc 2022-11-15 11:16:24 UTC
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 (device-mapper-multipath bug fix and enhancement update), 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-2022:8313


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