]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
suricata: Create the SGH cache directory
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 5 Aug 2025 10:40:27 +0000 (11:40 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 8 Aug 2025 15:09:19 +0000 (15:09 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/common/suricata
lfs/suricata

index bf49d1964b8fde6de9fdff726cd38114e3d4a4f4..2bfc3babda82253d7a98fe4b9220bfb74e1887ba 100644 (file)
@@ -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
index 84323ac094481cd44a34a341b891749d3169cba9..05b708f1b93a40fa661a177711eda2244a8121af 100644 (file)
@@ -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