Bug 977919 - Dangling symlink in openshift-origin-cartridge-perl package
Summary: Dangling symlink in openshift-origin-cartridge-perl package
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Containers
Version: 1.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Luke Meyer
QA Contact: libra bugs
URL:
Whiteboard:
Depends On: 977914
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-25 15:08 UTC by Jason DeTiberus
Modified: 2017-03-08 17:35 UTC (History)
5 users (show)

Fixed In Version: openshift-origin-cartridge-perl-0.4.8.1-1.el6op.noarch.rpm
Doc Type: Bug Fix
Doc Text:
The openshift-origin-cartridge-perl source code contained an unnecessary symlink with a missing target. This symlink was packaged into a broken symlink in the build. With this fix, the symlink has been removed from the source code and the broken symlink no longer appears.
Clone Of: 977914
Environment:
Last Closed: 2013-08-05 17:17:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1138 0 normal SHIPPED_LIVE OpenShift Enterprise 1.2.1 bug fix and enhancement update 2013-08-05 21:14:54 UTC

Description Jason DeTiberus 2013-06-25 15:08:51 UTC
+++ This bug was initially created as a clone of Bug #977914 +++

Description of problem:
openshift-origin-cartridge-perl has a dangling symlink: File usr/libexec/openshift/cartridges/v2/perl/versions/5.10/metadata is a dangling symlink (to ../shared/metadata/) on noarch

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


How reproducible:
Every time

Steps to Reproduce:
1. Install package
2. ls -l usr/libexec/openshift/cartridges/v2/perl/versions/5.10/metadata

Actual results:
ls shows broken symlink

Expected results:
symlink should not exist

Additional info:
This looks to be left over from early v2 work where there was a versions/shared/metadata directory that no longer exists.

Comment 2 openshift-github-bot 2013-07-18 19:24:01 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/7e8d61fcb6b7cd8a541a318e01dbef7b0d8ace31
<ruby cart> bug 977919 remove broken symlinks

Comment 3 Luke Meyer 2013-07-18 19:47:12 UTC
Above comment is in error due to me mislabeling the commit. Actual fix is as follows:

https://github.com/openshift/enterprise-server/pull/110
Cherry-picking commit:
commit d46f3f13a2713900f18f82cceab51c7722df1d07
Author: Luke Meyer <lmeyer>
Date:   Thu Jul 18 14:25:42 2013 -0400

    <perl cart> bug 977914 remove broken symlinks

Comment 5 Gaoyun Pei 2013-07-22 07:01:50 UTC
Verify this on puddle 1.2/2013-07-19.1

[root@node ~]# ls -l usr/libexec/openshift/cartridges/v2/perl/versions/5.10/metadata
ls: cannot access usr/libexec/openshift/cartridges/v2/perl/versions/5.10/metadata: No such file or directory
[root@node ~]# cd /usr/libexec/openshift/cartridges/v2/perl/versions/5.10
[root@node 5.10]# ls -al
total 8
drwxr-xr-x. 2 root root 4096 Jul 21 17:54 .
drwxr-xr-x. 4 root root 4096 Jul 21 17:54 ..
lrwxrwxrwx. 1 root root   14 Jul 21 17:54 etc -> ../shared/etc/

Comment 8 errata-xmlrpc 2013-08-05 17:17:46 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.

http://rhn.redhat.com/errata/RHBA-2013-1138.html


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