From: Stefan Schantl Date: Sat, 16 Apr 2022 12:49:52 +0000 (+0200) Subject: suricata: Create empty threshold.config file. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0d99255c0614d0218912724b97f6cfdb4811a895;p=people%2Fstevee%2Fipfire-2.x.git suricata: Create empty threshold.config file. The file is referenced in the suricata config file and if not present some ugly warnings will be displayed/logged during startup. Signed-off-by: Stefan Schantl --- diff --git a/lfs/suricata b/lfs/suricata index 9a8583ea9e..d09f87a5cc 100644 --- a/lfs/suricata +++ b/lfs/suricata @@ -112,6 +112,12 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) # (File has to be writeable for the nobody user) chown nobody:nobody /usr/share/suricata/classification.config + # Create empty threshold config file. + touch /usr/share/suricata/threshold.config + + # Set correct ownership for the threshold.config file. + chown nobody:nobody /usr/share/suricata/threshold.config + # Set correct ownership for /var/lib/suricata and the # contained files chown -R nobody:nobody /var/lib/suricata