From 6de4f7200ae09c5978215f178657e9451be58439 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 5 Aug 2025 11:40:27 +0100 Subject: [PATCH] suricata: Create the SGH cache directory Signed-off-by: Michael Tremer --- config/rootfiles/common/suricata | 1 + lfs/suricata | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/config/rootfiles/common/suricata b/config/rootfiles/common/suricata index bf49d1964..2bfc3babd 100644 --- a/config/rootfiles/common/suricata +++ b/config/rootfiles/common/suricata @@ -52,6 +52,7 @@ usr/share/suricata #usr/share/suricata/rules/websocket-events.rules #usr/share/suricata/threshold.config var/cache/suricata +var/cache/suricata/sgh var/lib/suricata #var/lib/suricata/cache #var/lib/suricata/cache/sgh diff --git a/lfs/suricata b/lfs/suricata index 84323ac09..05b708f1b 100644 --- a/lfs/suricata +++ b/lfs/suricata @@ -123,6 +123,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) # Set correct ownership for the cache directory. chown nobody:nobody /var/cache/suricata + # Create the Hyperscan cache directory + -mkdir -pv /var/cache/suricata/sgh + chown suricata:suricata /var/cache/suricata/sgh + # Create logging directory. -mkdir -p /var/log/suricata -- 2.47.3