Skip to content

Conversation

@EbonJaeger
Copy link
Member

Summary

This makes the suricata package fully stateless.

Note that suricata does not work out-of-the-box; the old version of the package didn't, and I doubt it does on any distro. It requires user configuration.

Test Plan

  1. Copy the default configs to /etc/suricata
  2. Run sudo chown -R suricata:suricata /etc/suricata
  3. Edit /etc/suricata/suricata.yaml to point to the other config files in /etc/suricata
  4. Create /etc/sysconfig/suricata and put the following in it:
    # The following parameters are the most commonly needed to configure
    # suricata. A full list can be seen by running /sbin/suricata --help
    # -i <network interface device>
    # --user <acct name>
    # --group <group name>
    # Add options to be passed to the daemon
    OPTIONS="-c /etc/suricata/suricata/yaml -i enp42s0 --user suricata "
  5. Run systemctl start suricata.service
  6. Run systemctl status suricata.service and see that it is running

Checklist

  • Package was built and tested against unstable
  • This change could gainfully be listed in the weekly sync notes once merged

@github-project-automation github-project-automation bot moved this to Triage in Solus Oct 23, 2025
@EbonJaeger EbonJaeger added the Topic: Sync Notes This PR/Issue can be highlighted in sync notes label Oct 23, 2025
Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>
@EbonJaeger
Copy link
Member Author

Thinking about it more, I'm wondering if I got things backwards, and if it would be easier to use if the sysconfdir remained /etc.

@TraceyC77 TraceyC77 added the hacktoberfest-accepted This PR is accepted for Hacktoberfest label Oct 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hacktoberfest-accepted This PR is accepted for Hacktoberfest Topic: Sync Notes This PR/Issue can be highlighted in sync notes

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

3 participants