public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. b7583f1faa6cc59a5d5805090a10598345402d66
@ 2025-08-12 15:08 Michael Tremer
  0 siblings, 0 replies; only message in thread
From: Michael Tremer @ 2025-08-12 15:08 UTC (permalink / raw)
  To: ipfire-scm

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".

The branch, next has been updated
       via  b7583f1faa6cc59a5d5805090a10598345402d66 (commit)
       via  82269b9647e2430a0f12fcb9a0319ba499c3bdee (commit)
      from  720b55a5a485d53b042bbf9c6e7e84e2d515b0bf (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b7583f1faa6cc59a5d5805090a10598345402d66
Author: Michael Tremer <michael.tremer@ipfire.org>
Date:   Sun Aug 10 14:39:36 2025 +0000

    core198: Create /var/run/suricata on update
    
    Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>

commit 82269b9647e2430a0f12fcb9a0319ba499c3bdee
Author: Michael Tremer <michael.tremer@ipfire.org>
Date:   Sun Aug 10 14:37:59 2025 +0000

    cleanfs: Create /var/run/suricata on boot
    
    Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>

-----------------------------------------------------------------------

Summary of changes:
 config/rootfiles/core/198/update.sh | 6 ++++++
 src/initscripts/system/cleanfs      | 4 ++++
 2 files changed, 10 insertions(+)

Difference in files:
diff --git a/config/rootfiles/core/198/update.sh b/config/rootfiles/core/198/update.sh
index ba5f23975..7e71fcc3c 100644
--- a/config/rootfiles/core/198/update.sh
+++ b/config/rootfiles/core/198/update.sh
@@ -38,6 +38,12 @@ done
 # Extract files
 extract_files
 
+# Create /var/run/suricata
+if ! [ -d "/var/run/suricata" ]; then
+	mkdir -p /var/run/suricata
+	chown suricata:suricata /var/run/suricata
+fi
+
 # update linker config
 ldconfig
 
diff --git a/src/initscripts/system/cleanfs b/src/initscripts/system/cleanfs
index af9332c49..e033c6067 100644
--- a/src/initscripts/system/cleanfs
+++ b/src/initscripts/system/cleanfs
@@ -107,6 +107,10 @@ case "${1}" in
 		if [ ! -e /var/run/saslauthd ]; then
 			mkdir -p /var/run/saslauthd
 		fi
+		if ! [ -d "/var/run/suricata" ]; then
+			mkdir -p /var/run/suricata
+			chown suricata:suricata /var/run/suricata
+		fi
 		if [ ! -e /var/log/vnstat ]; then
 			mkdir -p /var/log/vnstat
 		fi


hooks/post-receive
--
IPFire 2.x development tree


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-08-12 15:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-12 15:08 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. b7583f1faa6cc59a5d5805090a10598345402d66 Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox