public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <git@ipfire.org>
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. b7583f1faa6cc59a5d5805090a10598345402d66
Date: Tue, 12 Aug 2025 15:08:27 +0000 (UTC)	[thread overview]
Message-ID: <4c1ZdR5ktCz2xHR@people01.haj.ipfire.org> (raw)

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


                 reply	other threads:[~2025-08-12 15:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4c1ZdR5ktCz2xHR@people01.haj.ipfire.org \
    --to=git@ipfire.org \
    --cc=ipfire-scm@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox