Hi,

I could be wrong but looking at the code a bit more and downloading the karaf 4.4.3 binary distribution the default setting for the karaf shutdown is using loopback.
the config.properties still defines the property:
karaf.shutdown.port.file
The default configuration results in the creation of a listening loopback shutdown port. Shouldn't we change the default configuration to use the PID. I've tested this and it works correctly if I remove the karaf.shutdown.port.file property.

kind regards
  Dieder Timmers



Jean-Baptiste Onofré schreef op 2023-03-29 08:48:
Hi,

some info:
1. for security reason, the command loopback port has been disabled
while ago. It now use the PID.
2. which version are you using?

Regards
JB

On Mon, Mar 27, 2023 at 11:50 AM dieder <[email protected]> wrote:

Hi All,

Recently I restarted using Karaf. We got an old project and started
upgrading it.
Now I think I've discovered a bug in shutting down Karaf from the
loopback port. Sometimes Karaf does not stop after issuing the stop
command. I've analyzed it and created a fix. Now I'd like to follow the correct path for submitting a Jira issue and after that al pull request.
However I cannot seem to get approved for the Jira. I've requested
access last week and still no response.
What is the best way forward, retry to get on jira or create a pull
request for the fix (without an issue that feels ugly).

kind regards
   Dieder Timmers

Reply via email to