You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2020/01/13 17:38:00 UTC

[jira] [Resolved] (KARAF-4690) Karaf client fails to load if not able to write to $KARAF_DATA/tmp

     [ https://issues.apache.org/jira/browse/KARAF-4690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-4690.
-----------------------------------------
    Resolution: Won't Fix

It's possible to define any location via {{java.io.tmpdir}} or directly in the script.

> Karaf client fails to load if not able to write to $KARAF_DATA/tmp
> ------------------------------------------------------------------
>
>                 Key: KARAF-4690
>                 URL: https://issues.apache.org/jira/browse/KARAF-4690
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.0.6
>         Environment: Linux
>            Reporter: Adrian Baker
>            Priority: Major
>
> Running the Karaf client seems to result in an attempted write to the $KARAF_DATA/tmp directory (see https://github.com/fusesource/hawtjni/issues/27). If this fails, the client won't load.
> {code}
> [vagrant@localhost data]$ /opt/karaf/bin/client
> Logging in as karaf
> 391 [sshd-SshClient[4445629]-nio2-thread-2] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at /0.0.0.0:8101 presented unverified RSA key: 49:03:6e:ad:91:7d:c2:11:cb:86:84:73:b2:9e:e9:4b
> Could not load library. Reasons: [no jansi in java.library.path, Permission denied]
> {code}
> This write will fail if the user running the client script doesn't have write permission to this directory, which occurs if you've installed karaf as one user, then use another user to invoke the client script.
> I wonder if the standard default tmp directory is more appropriate for the client process.
> This appears to be a change from 4.0.4 -> 4.0.6.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)