From 1d16d97a10cba86e7e4da274186825f3e2e0a9c4 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Fri, 3 Dec 2021 15:58:40 +0100 Subject: [PATCH] suricata: Create empyt threshold.config file. Suricata tries to load and read this file during startup and will print a warning in case it does not exist. Signed-off-by: Stefan Schantl --- lfs/suricata | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lfs/suricata b/lfs/suricata index e08c73986b..b4483b02ff 100644 --- a/lfs/suricata +++ b/lfs/suricata @@ -103,6 +103,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) # to the rules directory. rm -rfv /etc/suricata/*.config + # Create empty threshold.config file + touch /usr/share/suricata/threshold.config + # Set correct ownership for the classifiction config file. # (File has to be writeable for the nobody user) chown nobody:nobody /usr/share/suricata/classification.config -- 2.39.5