Hi Graham,

Do you have something with config:list (without argument) ?
Could you try config:list|grep -i url ?

The fact that etc is a symlink may affect Karaf but to write back the file, I don't think for reading it.

Regards
JB

On 03/26/2013 11:35 AM, Graham Leggett wrote:
On 24 Mar 2013, at 10:10 PM, Jean-Baptiste Onofré <[email protected]> wrote:

Yes repositories can contain both "local" or "remote" URLs.

You can check the current configuration with:

config:list "(service.pid=org.ops4j.pax.url.mvn)"

in the repositories property.

When I attempt the above command I get no output at all:

karaf@root> config:list "(service.pid=org.ops4j.pax.url.mvn)"
karaf@root>

Am I correct in interpreting this as meaning that karaf cannot read its 
configuration?

karaf.home looks like this:

[root@sbfetch01 karaf-foo-pipeline]# ls -al /usr/share/karaf-foo-pipeline
total 16
drwxr-x---    4 root foo-pipeline 4096 Mar 24 01:17 .
drwxr-xr-x. 103 root root          4096 Mar 22 17:25 ..
drwxr-x---    2 root foo-pipeline 4096 Mar 24 01:17 deploy
lrwxrwxrwx    1 root foo-pipeline   24 Mar 24 01:17 etc -> 
/etc/karaf-foo-pipeline
drwxr-xr-x    2 root foo-pipeline 4096 Mar 24 01:17 ext
lrwxrwxrwx    1 root foo-pipeline   28 Mar 24 01:17 instances -> 
/var/run/karaf-foo-pipeline
lrwxrwxrwx    1 root foo-pipeline   36 Mar 24 01:17 lib -> 
/var/lib/karaf-foo-pipeline/startup
lrwxrwxrwx    1 root foo-pipeline   28 Mar 24 01:17 logs -> 
/var/log/karaf-foo-pipeline
lrwxrwxrwx    1 root foo-pipeline   35 Mar 24 01:17 system -> 
/var/lib/karaf-foo-pipeline/system

Is the fact that the etc directory is a symbolic link significant, does this 
affect karaf? I have confirmed various permissions on the 
/etc/karaf-foo-pipeline directory ranging from locked down to completely open, 
but it makes no visible difference.

Regards,
Graham
--


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

Reply via email to