From 9e9d89ae37246ceca5786fcf6e4c7991532c1baf Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Fri, 3 Dec 2021 15:57:17 +0100 Subject: [PATCH] suricata: Fix ownership of the classification.config file. The file has to be write-able for the nobody user. Signed-off-by: Stefan Schantl --- lfs/suricata | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lfs/suricata b/lfs/suricata index be0a64d766..9394d9f475 100644 --- a/lfs/suricata +++ b/lfs/suricata @@ -107,6 +107,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) # to the rules directory. rm -rfv /etc/suricata/*.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 + # Set correct ownership for /var/lib/suricata and the # contained files chown -R nobody:nobody /var/lib/suricata -- 2.39.2