+++ This bug was initially created as a clone of Bug #977916 +++ 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.
https://github.com/openshift/enterprise-server/pull/110 cherry-picked: commit 7e8d61fcb6b7cd8a541a318e01dbef7b0d8ace31 Author: Luke Meyer <lmeyer> Date: Thu Jul 18 14:20:59 2013 -0400 <ruby cart> bug 977919 remove broken symlinks
Check this on puddle 1.2/2013-07-19.1 The related links have been deleted: [root@node versions]# ls -l /usr/libexec/openshift/cartridges/v2/ruby/versions/1.8/metadata ls: cannot access /usr/libexec/openshift/cartridges/v2/ruby/versions/1.8/metadata: No such file or directory [root@node versions]# ls -l /usr/libexec/openshift/cartridges/v2/ruby/versions/1.9/metadata ls: cannot access /usr/libexec/openshift/cartridges/v2/ruby/versions/1.9/metadata: No such file or directory And no broken links under the ruby dir, so move it to VERIFIED. [root@node versions]# tree . . ├── 1.8 │ ├── etc │ │ ├── conf -> ../../shared/etc/conf │ │ └── conf.d │ │ └── openshift.conf.erb │ └── template │ ├── config.ru │ ├── public -> ../../shared/template/public/ │ ├── README.md -> ../../shared/template/README.md │ └── tmp -> ../../shared/template/tmp/ ├── 1.9 │ ├── etc │ │ ├── conf -> ../../shared/etc/conf │ │ └── conf.d │ │ └── openshift.conf.erb │ └── template │ ├── config.ru │ ├── public -> ../../shared/template/public/ │ ├── README.md -> ../../shared/template/README.md │ ├── thread-dumper.rb │ └── tmp -> ../../shared/template/tmp/ └── shared ├── etc │ ├── conf │ │ ├── httpd.conf │ │ └── httpd_nolog.conf │ └── conf.d │ └── openshift.conf.erb └── template ├── config.ru ├── public ├── README.md ├── thread-dumper.rb └── tmp
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