You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/10/05 08:51:00 UTC

[jira] [Commented] (KARAF-1381) Use a history file per instance when possible

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

ASF subversion and git services commented on KARAF-1381:
--------------------------------------------------------

Commit 36017375470307317f9578f688dca28e79c79f2b in karaf's branch refs/heads/main from Aleksy Wróblewski
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=3601737547 ]

[KARAF-1381] - store karaf command history separately for each instance


> Use a history file per instance when possible
> ---------------------------------------------
>
>                 Key: KARAF-1381
>                 URL: https://issues.apache.org/jira/browse/KARAF-1381
>             Project: Karaf
>          Issue Type: New Feature
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>
> Currently, all instances launched with the same system user share the same history file ($USER/.karaf/history), so we got the commands runned on another instance.
> A workaround is to use -Dkaraf.history property to use a history file specific to each instance. However, the user has to change the startup configuration to add this property.
> When the instances are clearly identified (root, foobar, other, etc), Karaf could store the history file in a dedicated location by default, for instance:
> $USER/.karaf/history.root
> $USER/.karaf/history.foobar
> $USER/.karaf/history.other



--
This message was sent by Atlassian Jira
(v8.20.10#820010)