Bug 1281913
| Summary: | ovs-dpdk: debuginfo package has symlinks to missing binaries | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Flavio Leitner <fleitner> | |
| Component: | openvswitch-dpdk | Assignee: | Panu Matilainen <pmatilai> | |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Jean-Tsung Hsiao <jhsiao> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | low | |||
| Version: | 7.3 | CC: | jean-mickael.guerin, kzhang, lhh, pmatilai, vincent.jardin | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | openvswitch-dpdk-2.5.0-2 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1317890 (view as bug list) | Environment: | ||
| Last Closed: | 2016-09-29 17:48:14 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1317890 | |||
|
Description
Flavio Leitner
2015-11-13 19:09:02 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. Fixed in openvswitch-dpdk-2.5.0-2 (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 Install openvswitch-dpdk-debuginfo, look for broken symlinks. 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. (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. |