Created attachment 249684 [details] upgrade patch NSD 4.9.0 was released today. The last time I was using it with students spotted missing /var/db/%%NSDUSER%% dir, so let's fix it. Adding autoreconf was required for successful build. - Update port to the most recent version - Fix missing /var/db/%%NSDUSER%% in pkg-plist - Add autoreconf in USES Changelog: https://lists.nlnetlabs.nl/pipermail/nsd-users/2024-April/003297.html
Created attachment 249695 [details] upgrade patch v2 Let's set less restrictive permissions on restored /var/db/nsd/, the same as they were before the upgrade to 4.8.0 (before commit 44e39403d8ddfd935dd045c3ef93db26c7329b1b). While preserving nsd.db is no more required, this directory is still important on slaves/secondaries, to keep xfrd.state file. Without it, NSD sends errors to syslog as xfr daemon is no longer able to save slave zone information on shutdown.
Thanks for the suggestions! There was a problem at the repository and a new release was cut. I'll send an updated patch using this version
Created attachment 249707 [details] patch to upgrade Patch using release 4.9.1
(In reply to Jaap Akkerhuis from comment #2) >There was a problem at the repository and a new release was cut. >I'll send an updated patch using this version Weird... it works fine for me, it built fine in Poudriere and I have been running 4.9.0 on 4 servers since yesterday, but OK.
Changelog: https://lists.nlnetlabs.nl/pipermail/nsd-users/2024-April/003297.html https://lists.nlnetlabs.nl/pipermail/nsd-users/2024-April/003301.html
Comment on attachment 249695 [details] upgrade patch v2 Maintainer has submitted another patch with more recent versions.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=465844833afc6b6ebf949e7095ba4cbbc3530ca2 commit 465844833afc6b6ebf949e7095ba4cbbc3530ca2 Author: Jaap Akkerhuis <jaap@NLnetLabs.nl> AuthorDate: 2024-04-04 14:41:45 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-04-04 15:53:27 +0000 dns/nsd: Update version 4.8.0=>4.9.1 Changelog : https://nlnetlabs.nl/news/2024/Apr/04/nsd-4.9.1-released/ PR: 278146 Reported by: zarychtam@plan-b.pwste.edu.pl Approved by: submitter is maintainer dns/nsd/Makefile | 3 +-- dns/nsd/distinfo | 6 +++--- dns/nsd/pkg-plist | 3 ++- 3 files changed, 6 insertions(+), 6 deletions(-)
(In reply to Muhammad Moinur Rahman from comment #6) Thank you for committing Muhammad ! Thank you for the updated patch Jaap ! I hope they haven't introduced anything suspicious with the update to 4.9.1 since in our ports tree 4.9.0 was building fine. Only joking of course. Presumably, other build systems are less sophisticated than our ports tree[1]. 1. https://lists.nlnetlabs.nl/pipermail/nsd-users/2024-April/003299.html