karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-4824) Add Option to bundle:update which doesn't rewrite MANIFEST file
Date Tue, 06 Dec 2016 11:11:33 GMT

    [ https://issues.apache.org/jira/browse/KARAF-4824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15725060#comment-15725060

ASF subversion and git services commented on KARAF-4824:

Commit 856e734aa3d5c37a756ed82ef713521b9b45a8c1 in karaf's branch refs/heads/master from [~gnt]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=856e734 ]

[KARAF-4824] Add Option to bundle:update which doesn't rewrite MANIFEST file

> Add Option to bundle:update which doesn't rewrite MANIFEST file
> ---------------------------------------------------------------
>                 Key: KARAF-4824
>                 URL: https://issues.apache.org/jira/browse/KARAF-4824
>             Project: Karaf
>          Issue Type: New Feature
>          Components: karaf-shell
>    Affects Versions: 4.0.7
>            Reporter: Markus Eckert
>            Assignee: Guillaume Nodet
>              Labels: bundle, shell, update
>             Fix For: 4.1.0
> Using the Karaf shell, if someone updates a bundle using the *bundle:update* command,
the command unzips the .jar file and manipulates the MANIFEST without questioning it.
> *BundleUtils.fixBundleWithUpdateLocation* is responsible for this.
> This is a severe issue when using JAR files with signature (JRE jarsigner) and signature
checking. If a bundle is only allowed to start with a valid signature this will break it and
the bundle won't activate again.
> Update of the bundles was done using:
>  *update <bundle name> file:/<location on file system>*
> The only workaround is to uninstall the bundle and install it again.
> An option to tell update if it should update the MANIFEST or not would be a nice feature
to have.
> Maybe there is another CLI command to achieve this? Updating the bundle using the Karaf
Webconsole doesn't have this issue at all.

This message was sent by Atlassian JIRA

View raw message