Skip to content

configuration/installer scripts - handle dependencies better so as not to overwrite/lose user settings #949

Closed as duplicate

Description

@mmguero

The following code in the installer script:

handles "dependencies," which are essentially "If setting A changes, that may result in a change to setting B" sorts of things.

For the most part this works very well, but there are some issues where a user's settings might be changed incorrectly: I think this happens during initial loading/setting up of the configuration item tree, even though it works correctly when being "user-driven."

I'm wondering if we need to change it so that during a load (loading from an exported file, loading from existing .env files) we "pause" the dependency resolving (making changes to "downstream" settings) until that initial loading is complete.

For example:

  • On Hedgehog Linux, the default is that arkime-live is set as the default PCAP capture method. However, even if a user disables it (so that no PCAP capture method is enabled, which is totally valid), returning to the configuration will have it enabled again.
  • Sometimes I notice that enabling/disabling zeek OT protocol scanners gets re-set when I come back into configuration.

There are others. This needs to be looked at.

Activity

  1. added
    bugSomething isn't working
    install.pyRelating to the install.py configuration script
    on Apr 23, 2026
  2. added theissue type on Apr 23, 2026
  3. moved this to Todo (develop) in Malcolmon Apr 23, 2026
  4. added this to the v26.05.0 milestone on Apr 23, 2026
  5. modified the milestones: v26.05.1, v26.06.0 on May 13, 2026
  6. modified the milestones: v26.08.0, v26.10.0 on Jul 28, 2026
  7. self-assigned this
    on Oct 20, 2026
  8. modified the milestones: v26.10.0, v26.11.0 on Oct 23, 2026
  9. moved this from Todo (develop) to Invalid in Malcolmon Nov 10, 2026
  10. removed this from the v26.11.0 milestone on Nov 10, 2026
  11. moved this from Invalid to Done in Malcolmon Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinginstall.pyRelating to the install.py configuration script

Type

Fields

Frequency

None yet

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions