Hello,

For Karaf 4.0.6 I am trying to prevent changes made with the config:*
commands to be persisted by setting the property

felix.fileinstall.enableConfigSave = false

in Karaf's $KARAF_HOME/etc/config.properties. But it appears the setting
gets ignored. Whenever I issue a config:update the pending changes to the
edited configuration get persisted to its configuration file.

I found this  thread
<http://karaf.922171.n3.nabble.com/Does-not-work-for-me-felix-fileinstall-enableConfigSave-false-td4042595.html>
 
, which did not make it through to the mailing list, reporting the same
issue.

This  thread
<http://apache-felix.18485.x6.nabble.com/Bug-in-Fileinstall-felix-fileinstall-enableConfigSave-does-not-work-per-configuration-td4915996.html>
  
suggests I a might be overridden by another property
felix.fileinstall.disableConfigSave.
I tried to set the property and the true/false/none permutations of the two
properties just to be sure, but no setting disables the flush to the
configuration file.

The answer to this  SO question
<https://stackoverflow.com/questions/38435784/apache-felix-file-install-example-in-karaf>
  
says about the enableConfigSave property:
"It enabled to save configurations back to files, if those configurations
contain the flag needed."
But I could not find other references to the mentioned flag.

Am I missing something?


Thanks!
Ralf



--
View this message in context: 
http://karaf.922171.n3.nabble.com/felix-fileinstall-enableConfigSave-false-ignored-tp4047867.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to