You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "M Gerstädt (JIRA)" <ji...@apache.org> on 2019/02/08 09:42:00 UTC
[jira] [Comment Edited] (KARAF-6141) Client hangs sporadic, if
started without an tty
[ https://issues.apache.org/jira/browse/KARAF-6141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16763447#comment-16763447 ]
M Gerstädt edited comment on KARAF-6141 at 2/8/19 9:41 AM:
-----------------------------------------------------------
Yes, I using something like this:
{code:java}
cat users.properties
adminuser = {CRYPT}hashed_password{CRYPT},g:admingroup
{code}
was (Author: mgerstaedt):
Yes, I using something like this:
adminuser = \{CRYPT}hashed_password\{CRYPT},_g_:admingroup
> Client hangs sporadic, if started without an tty
> ------------------------------------------------
>
> Key: KARAF-6141
> URL: https://issues.apache.org/jira/browse/KARAF-6141
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Affects Versions: 4.2.2
> Environment: SuSe Linux
> Reporter: M Gerstädt
> Priority: Minor
>
> Hello,
> since Version 4.2.2 the bin/client process hangs sporadic, if it has been started as a process, which is not attached to a tty (for example with cronjob). Before Version 4.2.2 the client works fine.
> Below is a simple example to reproduce this issue:
>
> {code:java}
> while true; do
> setsid sh -c 'echo $$ ; ${KARAF_DIR}/bin/client -a ${SSH_PORT} "exit"' < /dev/null
> sleep 2
> done
> {code}
> After some iterations, you should find some hanging "org.apache.karaf.client.Main -a 8101 exit" processes with ps -ef.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)