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 af92e2e3d6a4ddc818a6d35dc36baa26621b6cb3 (commit) via aaf75c0d1a7999ffdd181897d37d168ce2092214 (commit) via 7aaf6dc422377e56d2594c2c37787ca715343d38 (commit) from bc12c6119d3ef4050b2efc66f49cdcaec052079f (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 af92e2e3d6a4ddc818a6d35dc36baa26621b6cb3 Author: Daniel Weismüller Date: Tue Jun 2 16:23:07 2026 +0200 core203: Update the RPZs in background after the updater Signed-off-by: Daniel Weismüller commit aaf75c0d1a7999ffdd181897d37d168ce2092214 Author: Daniel Weismüller Date: Tue Jun 2 16:19:00 2026 +0200 core203: Only try to stop Unbound if it is still there Signed-off-by: Daniel Weismüller commit 7aaf6dc422377e56d2594c2c37787ca715343d38 Author: Daniel Weismüller Date: Tue Jun 2 16:17:50 2026 +0200 core203: Create leases.db if it does not exist Signed-off-by: Daniel Weismüller ----------------------------------------------------------------------- Summary of changes: config/rootfiles/core/203/update.sh | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) Difference in files: diff --git a/config/rootfiles/core/203/update.sh b/config/rootfiles/core/203/update.sh index 0b1bcfa66..5aea2ff66 100644 --- a/config/rootfiles/core/203/update.sh +++ b/config/rootfiles/core/203/update.sh @@ -74,9 +74,18 @@ fi # Extract files extract_files +# Create leases.db if it does not exist, yet +if [ -e "/var/lib/knot-resolver/leases.db" ]; then + sqlite3 "/var/lib/knot-resolver/leases.db" \ + < /usr/lib/knot-resolver/leases.schema + chown knot-resolver:knot-resolver /var/lib/knot-resolver/leases.db +fi + # Stop Unbound & start Knot Resolver -/etc/init.d/unbound stop -/etc/init.d/knot-resolver start +if [ -x "/etc/init.d/unbound" ]; then + /etc/init.d/unbound stop + /etc/init.d/knot-resolver start +fi # Remove Unbound rm -rfv \ @@ -112,6 +121,9 @@ ldconfig # Start services +# Re-fetch any RPZs in background +/usr/local/bin/update-rpzs & + # Reload crontab fcrontab -z hooks/post-receive -- IPFire 2.x development tree