Bug 864250 - [ Enhancement ] Symlinks inside bundles do not work
Summary: [ Enhancement ] Symlinks inside bundles do not work
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Provisioning
Version: JON 3.1.0
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: JON 4.0.0
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On: 851021
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-09 01:23 UTC by Larry O'Leary
Modified: 2019-07-29 14:48 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 851021
: 875232 (view as bug list)
Environment:
Last Closed: 2019-07-29 14:48:55 UTC
Type: Enhancement
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 875232 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Knowledge Base (Solution) 194413 0 None None None 2012-10-09 01:23:34 UTC

Internal Links: 875232

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.


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