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

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

@dougburks

Description

@dougburks

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions