Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 864250

Summary: [ Enhancement ] Symlinks inside bundles do not work
Product: [JBoss] JBoss Operations Network Reporter: Larry O'Leary <loleary>
Component: ProvisioningAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED EOL QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: unspecified    
Version: JON 3.1.0CC: fbrychta, jdoyle, joallen, kejohnso, myarboro, tsegismo
Target Milestone: ---   
Target Release: JON 4.0.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 851021
: 875232 (view as bug list) Environment:
Last Closed: 2019-07-29 14:48:55 UTC Type: Enhancement
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: 851021    
Bug Blocks:    

Description Larry O'Leary 2012-10-09 01:23:32 UTC
+++ This bug was initially created as a clone of RHQ Bug #851021 +++

As per http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6550137, java.util.zip doesn't support symlinks. Since RHQ uses those classes for handling the contents of bundles, it does not support symlinks inside bundles.


A use case for when you may want to do this is installing the EAP 5.1.2 RHEL native components via a bundle. As of 5.1.2, the zip from the customer portal contains symlinks to some OS-provides shared libraries, rather than copies of them.


This is not likely to be easy to fix, without moving to a different archive-handling libraru, and I'm not certain ant supports symlinks in zip files either.

--- Additional comment from jlivings on 2012-08-23 02:29:48 EDT ---

A work-around is to put the symlinks (and optionally other files) into a tarball and extract them using the ant script:
  <untar src="abc.tar.gz" compression="gzip" dest="somedirectory"/>

Comment 6 Filip Brychta 2019-07-29 14:48:55 UTC
JBoss ON is coming to the end of its product life cycle. For more information regarding this transition, see https://access.redhat.com/articles/3827121.
This bug report/request is being closed. If you feel this issue should not be closed or requires further review, please create a new bug report against the latest supported JBoss ON 3.3 version.