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 1281913 - ovs-dpdk: debuginfo package has symlinks to missing binaries
Summary: ovs-dpdk: debuginfo package has symlinks to missing binaries
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: openvswitch-dpdk
Version: 7.3
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Panu Matilainen
QA Contact: Jean-Tsung Hsiao
URL:
Whiteboard:
Depends On:
Blocks: 1317890
TreeView+ depends on / blocked
 
Reported: 2015-11-13 19:09 UTC by Flavio Leitner
Modified: 2016-09-29 17:48 UTC (History)
5 users (show)

Fixed In Version: openvswitch-dpdk-2.5.0-2
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1317890 (view as bug list)
Environment:
Last Closed: 2016-09-29 17:48:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Flavio Leitner 2015-11-13 19:09:02 UTC
Description of problem:

openvswitch-dpdk RPM package doesn't ship all the binaries, so some of them are intentionally out.  However, the debuginfo package contains broken symlinks to them which triggers OSP alarms.

Expected results:
No broken symlinks.

Comment 1 Panu Matilainen 2015-11-16 09:24:36 UTC
Debuginfo extraction doesn't know about spec level %exclude's (see bug 878863), so files that are not packaged at all need to be physically removed from the buildroot.

This is done in openvswitch-dpdk for the sub-package contents (see line 246-254) but I hadn't noticed there are such %excludes (ovs-benchmark etc) present in the upstream ovs spec. The same buggy %excludes are in the regular openvswitch package too, so it'll be affected as well.

Comment 2 Panu Matilainen 2016-03-17 08:31:10 UTC
Fixed in openvswitch-dpdk-2.5.0-2

Comment 3 Jean-Tsung Hsiao 2016-06-24 13:54:15 UTC
(In reply to Panu Matilainen from comment #2)
> Fixed in openvswitch-dpdk-2.5.0-2

Hi Panu,

Do you have a reproducer?

Thanks!

Jean

Comment 4 Panu Matilainen 2016-06-27 07:09:01 UTC
Install openvswitch-dpdk-debuginfo, look for broken symlinks.

Comment 5 Jean-Tsung Hsiao 2016-06-28 12:15:41 UTC
Saw the following broken symlinks with ovs-2.5.0-1:

[root@netqe5 openvswitch]# ls -l
/usr/lib/debug/.build-id/99/55b578571b36c283dbc3701989f610ec85396a
lrwxrwxrwx. 1 root root 40 Jun 27 23:01
/usr/lib/debug/.build-id/99/55b578571b36c283dbc3701989f610ec85396a ->
../../../../sbin/ovs-vlan-bug-workaround
[root@netqe5 openvswitch]# ls -l
/usr/lib/debug/.build-id/44/fd46a62a8a0d62227c9eff784b57bbea1417d2
lrwxrwxrwx. 1 root root 29 Jun 27 23:01
/usr/lib/debug/.build-id/44/fd46a62a8a0d62227c9eff784b57bbea1417d2 ->
../../../../bin/ovs-benchmark


But, not  with ovs-2.5.0-4.

Comment 6 Jean-Tsung Hsiao 2016-06-28 12:16:56 UTC
(In reply to Jean-Tsung Hsiao from comment #5)
> Saw the following broken symlinks with ovs-2.5.0-1:

[root@netqe5 openvswitch]# rpm -qa | grep openvswitch
openvswitch-dpdk-2.5.0-1.el7.x86_64
openvswitch-dpdk-debuginfo-2.5.0-1.el7.x86_64

> 
> [root@netqe5 openvswitch]# ls -l
> /usr/lib/debug/.build-id/99/55b578571b36c283dbc3701989f610ec85396a
> lrwxrwxrwx. 1 root root 40 Jun 27 23:01
> /usr/lib/debug/.build-id/99/55b578571b36c283dbc3701989f610ec85396a ->
> ../../../../sbin/ovs-vlan-bug-workaround
> [root@netqe5 openvswitch]# ls -l
> /usr/lib/debug/.build-id/44/fd46a62a8a0d62227c9eff784b57bbea1417d2
> lrwxrwxrwx. 1 root root 29 Jun 27 23:01
> /usr/lib/debug/.build-id/44/fd46a62a8a0d62227c9eff784b57bbea1417d2 ->
> ../../../../bin/ovs-benchmark
> 
> 
> But, not  with ovs-2.5.0-4.


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