Hi,

if you take a look in etc/jmx.acl.org.apache.karaf.bundle.cfg, you can see:

update(java.lang.String)[/([1-4])?[0-9]/] = admin
update(java.lang.String,java.lang.String)[/([1-4])?[0-9]/,/.*/] = admin

If update is with manager role, update with a system bundle is restricted to admin role. That's why you have to force the update with -f.

Regards
JB

On 09/03/2014 12:00 PM, Dutertry Nicolas wrote:
Hi,

I have installed Karaf 3.0.1 and I'm trying to use SSH connection with "client" 
script.
When I try to update a bundle using a remote shell, I receive the following 
error :

karaf@root()> update 78
Error executing command: Insufficient credentials.

But if if use "update -f" it works !

In file org.apache.karaf.command.acl.bundle.cfg we can see that command "update" is 
restricted to "manager" role.
But in users.properties, we can see that "karaf" has the role "manager" :

karaf = karaf,_g_:admingroup
_g_\:admingroup = group,admin,manager,viewer

How can I solve this issue ?

Regards,


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to