Skip to main content
17-Peridot
November 23, 2022
Solved

xconfmanager

  • November 23, 2022
  • 1 reply
  • 1481 views

Hi team,

In xconfmanager, you can undefine or remove:

--reset Reset the site specific value of a property or set of
properties to the declared default value.

--undefine Reset the property such that its value will be null

--remove Treat the named property as an ordered set and remove a
value from it in the site.xconf.

 

I have been configuring Security Labels, and I set a property that should not have been set. Then I tried --undefine and --remove but the property key remains in xconf.site and the related properties file. I would like to get rid of it completely. Will --reset get rid of the property? 

Maybe I need to use the backups?

thanks -- Rick

Best answer by RandyJones

To remove a property I will generally do this:

  • edit site.xconf and remove the property
  • run "xconfmanager -p" to propogate the changes

1 reply

20-Turquoise
November 23, 2022

To remove a property I will generally do this:

  • edit site.xconf and remove the property
  • run "xconfmanager -p" to propogate the changes
23-Emerald III
November 23, 2022

I agree with Randy's solution. I do this when something gets added that I don't want after all. 

If the property is still in the properties file, ignore the warning and edit the file anyway. As long as you are sure the setting is removed from any xconf files so when a xconfmanager -p is run, it doesn't get added back in.