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, master, updated. da1960a8f38d1a1d1ae5855703b8f60432389f1e
Date: Mon, 11 May 2026 18:01:27 +0000 (UTC)	[thread overview]
Message-ID: <4gDnbX0Cs7z2xcP@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, master has been updated
       via  da1960a8f38d1a1d1ae5855703b8f60432389f1e (commit)
      from  1f2ea92214879acc6292dfcdbb103e3210eed4cc (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 da1960a8f38d1a1d1ae5855703b8f60432389f1e
Author: Adolf Belka <adolf.belka@ipfire.org>
Date:   Mon May 11 18:55:51 2026 +0200

    backup.pl: Create the new unbound user and group when doing a restore
    
    - With the introduction of the unbound user and group, when a restore is done from a
       earlier backup when user and group nobody were used then the unbound user and group
       are removed as passwd and group are backed up.
    - Using the entry already present for the dhcpcd user and group I cre4ated this patch.
    - Not 100% certain it is the correct way to do it, as I am not sure about if a restore
       is done where the unbound user and group already exist but presumably the same effect
       occurs with the dhcpcd user and group.
    
    Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
    Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>

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

Summary of changes:
 config/backup/backup.pl | 8 ++++++++
 1 file changed, 8 insertions(+)

Difference in files:
diff --git a/config/backup/backup.pl b/config/backup/backup.pl
index 9a54b50d3..8dd77b3ee 100644
--- a/config/backup/backup.pl
+++ b/config/backup/backup.pl
@@ -108,6 +108,14 @@ restore_backup() {
 		-s /bin/false			\
 		-u 52 dhcpcd
 
+	# create unbound user
+	groupadd -g 103 unbound
+	useradd -c 'unbound User'	\
+		-d /var/empty		\
+		-g unbound		\
+		-s /bin/false		\
+		-u 103 unbound
+
 	# Run converters
 
 	# Outgoing Firewall


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


                 reply	other threads:[~2026-05-11 18:01 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=4gDnbX0Cs7z2xcP@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