Bug 1469765 - Dangling symlink in rh-eclipse47-eclipse-ptp-sdm-9.1.2-3.1.el7.x86_64
Summary: Dangling symlink in rh-eclipse47-eclipse-ptp-sdm-9.1.2-3.1.el7.x86_64
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: DevTools
Classification: Red Hat
Component: rh-eclipse47
Version: rh-eclipse47
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 1.0
Assignee: Mat Booth
QA Contact: Václav Kadlčík
Robert Krátký
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-11 19:37 UTC by Nick Boldt
Modified: 2017-08-15 15:05 UTC (History)
5 users (show)

Fixed In Version: rh-eclipse47-eclipse-ptp-9.1.2-4.1.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-15 15:05:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:2476 0 normal SHIPPED_LIVE rh-eclipse47 bug fix and enhancement update 2017-08-15 19:01:40 UTC

Description Nick Boldt 2017-07-11 19:37:10 UTC
Description of problem:

[ERROR] Can't find '/opt/rh/rh-eclipse47/root/usr/lib64/ptp/sdm' -> '/opt/rh/rh-eclipse47/root/usr/lib*/eclipse/droplets/ptp-sdm/eclipse/plugins/org.eclipse.ptp.linux_9.1.2.201704021416/os/linux/x86_64/sdm'

Version-Release number of selected component (if applicable):

rh-eclipse47-eclipse-ptp-sdm-9.1.2-3.1.el7.x86_64

How reproducible: always


Steps to Reproduce:
1. Run this script [1]
2. ./errataWaiveChecker.sh -e https://errata.devel.redhat.com/rpmdiff/show/177006?result_id=4852895 -p "dangling symlink" -I 
3. Review log

[1] https://github.com/jbosstools/jbosstools-build-ci/blob/master/util/errataWaiveChecker.sh

Actual results:

[ERROR] Can't find '/opt/rh/rh-eclipse47/root/usr/lib64/ptp/sdm' -> '/opt/rh/rh-eclipse47/root/usr/lib*/eclipse/droplets/ptp-sdm/eclipse/plugins/org.eclipse.ptp.linux_9.1.2.201704021416/os/linux/x86_64/sdm'

[ERROR] For rh-eclipse47-eclipse-ptp-sdm, found 1 of 5 dangling symlinks at https://errata.devel.redhat.com/rpmdiff/show/177021?result_id=4853557


Expected results:

[INFO] For rh-eclipse47-eclipse-ptp-sdm, found 0 of 5 dangling symlinks at https://errata.devel.redhat.com/rpmdiff/show/177021?result_id=4853557

Additional info:

Comment 1 Nick Boldt 2017-07-11 19:38:54 UTC
The actual file is here:

$➔ file /opt/rh/rh-eclipse47/root/usr/lib/eclipse/droplets/ptp-sdm/eclipse/plugins/org.eclipse.ptp.linux_9.1.2.201704021416/os/linux/x86_64/sdm
/opt/rh/rh-eclipse47/root/usr/lib/eclipse/droplets/ptp-sdm/eclipse/plugins/org.eclipse.ptp.linux_9.1.2.201704021416/os/linux/x86_64/sdm: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=cd29df75581523748ae1e2f1a5406f3d3b091078, stripped

But symlinking to a path with an asterisk doesn't seem to resolve for me (on F24 anyway). So I would suggest the symlink remove the asterisk, in order to not get this error:

$➔ file /opt/rh/rh-eclipse47/root/usr/lib64/ptp/sdm
/opt/rh/rh-eclipse47/root/usr/lib64/ptp/sdm: broken symbolic link to /opt/rh/rh-eclipse47/root/usr/lib*/eclipse/droplets/ptp-sdm/eclipse/plugins/org.eclipse.ptp.linux_9.1.2.201704021416/os/linux/x86_64/sdm

Comment 2 Mat Booth 2017-07-19 14:29:22 UTC
(In reply to Nick Boldt from comment #1)
> The actual file is here:
> 
> $➔ file
> /opt/rh/rh-eclipse47/root/usr/lib/eclipse/droplets/ptp-sdm/eclipse/plugins/
> org.eclipse.ptp.linux_9.1.2.201704021416/os/linux/x86_64/sdm
> /opt/rh/rh-eclipse47/root/usr/lib/eclipse/droplets/ptp-sdm/eclipse/plugins/
> org.eclipse.ptp.linux_9.1.2.201704021416/os/linux/x86_64/sdm: ELF 64-bit LSB
> executable, x86-64, version 1 (SYSV), dynamically linked, interpreter
> /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32,
> BuildID[sha1]=cd29df75581523748ae1e2f1a5406f3d3b091078, stripped
> 
> But symlinking to a path with an asterisk doesn't seem to resolve for me (on
> F24 anyway). So I would suggest the symlink remove the asterisk, in order to
> not get this error:


This was probably always broken on 32-bit arches, but no-one noticed until Eclipse moved to /usr/lib on all arches. I fixed in Fedora and back-ported to rh-eclipse47

Comment 5 errata-xmlrpc 2017-08-15 15:05:43 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, 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/RHEA-2017:2476


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