Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7A2C017D26 for ; Thu, 9 Apr 2015 09:20:12 +0000 (UTC) Received: (qmail 19834 invoked by uid 500); 9 Apr 2015 09:20:12 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 19805 invoked by uid 500); 9 Apr 2015 09:20:12 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 19793 invoked by uid 99); 9 Apr 2015 09:20:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Apr 2015 09:20:12 +0000 Date: Thu, 9 Apr 2015 09:20:12 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-3471) Karaf can't start if etc/config.properties is not writable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-3471?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1448= 7031#comment-14487031 ]=20 Jean-Baptiste Onofr=C3=A9 commented on KARAF-3471: --------------------------------------------- Fixed on master: https://git-wip-us.apache.org/repos/asf?p=3Dkaraf.git;a=3D= commitdiff;h=3D32ab90d67738bdb57ae725f99f7712e8d84a35bc > Karaf can't start if etc/config.properties is not writable > ---------------------------------------------------------- > > Key: KARAF-3471 > URL: https://issues.apache.org/jira/browse/KARAF-3471 > Project: Karaf > Issue Type: Bug > Components: karaf-core > Reporter: Jean-Baptiste Onofr=C3=A9 > Assignee: Jean-Baptiste Onofr=C3=A9 > Fix For: 4.0.0, 2.4.2, 3.0.4 > > > The Karaf main loads the config.properties (as a org.apache.felix.utils.p= roperties.Properties) and load some additional properties in it (like Syste= m env/properties). > Especially, it writes one thing (and the only thing ;)): the shutdown com= mand. > It's the: > {code} > karaf.shutdown.command > {code} > property, containing an unique/random UUID to "secure" the Karaf shutdown= . > If the property is not in etc/config.properties, Karaf will try to create= one and write in etc/config.properties. > If the property is already there, it just uses it. > So, as a workaround, you can modify etc/config.properties to add: > {code} > karaf.shutdown.command=3D321DE18U23187 > {code} > (or whatever you want). -- This message was sent by Atlassian JIRA (v6.3.4#6332)