Bug 977916 - Dangling symlinks in openshift-origin-cartridge-ruby package
Summary: Dangling symlinks in openshift-origin-cartridge-ruby package
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Luke Meyer
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks: 977918
TreeView+ depends on / blocked
 
Reported: 2013-06-25 15:08 UTC by Jason DeTiberus
Modified: 2015-05-14 23:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 977918 (view as bug list)
Environment:
Last Closed: 2013-07-22 15:12:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jason DeTiberus 2013-06-25 15:08:11 UTC
Description of problem:
openshift-origin-cartridge-ruby has dangling symlinks: 
File usr/libexec/openshift/cartridges/v2/ruby/versions/1.8/metadata is a dangling symlink (to ../shared/metadata/) on noarch
File usr/libexec/openshift/cartridges/v2/ruby/versions/1.9/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/ruby/versions/1.8/metadata
3. ls -l /usr/libexec/openshift/cartridges/v2/ruby/versions/1.9/metadata

Actual results:
ls shows broken symlinks

Expected results:
symlinks 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 1 Luke Meyer 2013-07-18 19:44:23 UTC
The following commit was mislabeled and is actually for this bug:

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

Comment 2 Meng Bo 2013-07-19 05:23:03 UTC
Checked on devenv_3527, issue has been fixed.

[root@ip-10-154-153-202 versions]# pwd
/usr/libexec/openshift/cartridges/ruby/versions
[root@ip-10-154-153-202 versions]# tree -a -L 2
.
├── 1.8
│   ├── etc
│   └── template
├── 1.9
│   ├── etc
│   └── template
├── 2.0
│   ├── etc
│   └── template -> ../shared/template
└── shared
    ├── etc
    └── template

12 directories, 0 files


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