Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

NSM: need to handle /etc/init/securityonion.conf properly #1167

Closed
dougburks opened this issue Nov 9, 2017 · 3 comments
Closed

NSM: need to handle /etc/init/securityonion.conf properly #1167

dougburks opened this issue Nov 9, 2017 · 3 comments

Comments

@dougburks
Copy link
Contributor

dougburks commented Nov 9, 2017

Problem

Traditionally, /etc/init/securityonion.conf is a part of the securityonion-nsmnow-admin-scripts package. Therefore, whenever a new version of the securityonion-nsmnow-admin-scripts package is installed, /etc/init/securityonion.conf is automatically overwritten with the file from the package.

For folks that are testing out Elastic Beta, so-elastic-configure has written a new /etc/init/securityonion.conf. If we deploy a new NSM package and overwrite their elastic securityonion.conf with the traditional version, it will break their system.

Possible Solutions

We have at least 2 options:

  1. Build a new /etc/init/securityonion.conf that can handle both pre-elastic and post-elastic conditions.

OR

  1. Remove /etc/init/securityonion.conf from install and conditionally install in postinst. If pre-elastic, copy file into place. If post-elastic, do nothing.
@dougburks
Copy link
Contributor Author

@dougburks
Copy link
Contributor Author

@dougburks
Copy link
Contributor Author

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant