Hello, > On 7 May 2025, at 16:32, Matthias Fischer <[email protected]> wrote: > > On 07.05.2025 11:54, Michael Tremer wrote: >> Hello Matthias, > > Hi, >> Thanks for the patch. I added another patch to use the new fast reload >> feature: >> >> >> https://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff;h=bc3c914b12689a8f245b2332bc6055bcc3f3dc89 >> >> Hopefully reloading Unbound will be less disruptive to the network then. > > But doesn't that mean that unbound has to be compiled with > "--with-pthreads"!? > > => > https://unbound.docs.nlnetlabs.nl/en/latest/manpages/unbound-control.html# > says: > > "fast_reload [+dpv] > > Reload the server, but keep downtime to a minimum, so that user > queries keep seeing service. This needs the code compiled with threads..." > > Or is that option active by default? Do we need "num-threads" in the > config? I'm just not 100% sure...
We are already running several threads so I assume this is working just fine. I think the change I did should be all we need. I will install the build shortly and then we will know. -Michael > > Best > Matthias > >> -Michael >> >>> On 5 May 2025, at 15:12, Matthias Fischer <[email protected]> >>> wrote: >>> >>> For details see: >>> https://nlnetlabs.nl/projects/unbound/download/#unbound-1-23-0 >>> >>> Signed-off-by: Matthias Fischer <[email protected]> >>> --- >>> config/rootfiles/common/unbound | 2 +- >>> lfs/unbound | 6 +++--- >>> 2 files changed, 4 insertions(+), 4 deletions(-) >>> >>> diff --git a/config/rootfiles/common/unbound >>> b/config/rootfiles/common/unbound >>> index 57390d6d9..8913c376f 100644 >>> --- a/config/rootfiles/common/unbound >>> +++ b/config/rootfiles/common/unbound >>> @@ -11,7 +11,7 @@ etc/unbound/unbound.conf >>> #usr/lib/libunbound.la >>> #usr/lib/libunbound.so >>> usr/lib/libunbound.so.8 >>> -usr/lib/libunbound.so.8.1.30 >>> +usr/lib/libunbound.so.8.1.31 >>> #usr/lib/pkgconfig/libunbound.pc >>> usr/sbin/unbound >>> usr/sbin/unbound-anchor >>> diff --git a/lfs/unbound b/lfs/unbound >>> index 537ccff7e..abcb4e104 100644 >>> --- a/lfs/unbound >>> +++ b/lfs/unbound >>> @@ -1,7 +1,7 @@ >>> ############################################################################### >>> # >>> # >>> # IPFire.org - A linux based firewall >>> # >>> -# Copyright (C) 2007-2024 IPFire Team <[email protected]> >>> # >>> +# Copyright (C) 2007-2025 IPFire Team <[email protected]> >>> # >>> # >>> # >>> # This program is free software: you can redistribute it and/or modify >>> # >>> # it under the terms of the GNU General Public License as published by >>> # >>> @@ -24,7 +24,7 @@ >>> >>> include Config >>> >>> -VER = 1.22.0 >>> +VER = 1.23.0 >>> >>> THISAPP = unbound-$(VER) >>> DL_FILE = $(THISAPP).tar.gz >>> @@ -40,7 +40,7 @@ objects = $(DL_FILE) >>> >>> $(DL_FILE) = $(DL_FROM)/$(DL_FILE) >>> >>> -$(DL_FILE)_BLAKE2 = >>> 28cf5c6c5e29d4026beb33e8a17b012d1185a3a100fafd3e2717233f47c7b0ad2bf7b7fc2d5ad8c15b6fef496ed9d9c95d116535c3c34c945b27c2a42fa197ff >>> +$(DL_FILE)_BLAKE2 = >>> 160bb2bee5450313a68ac81b73fd4bb21b14f8d25172d314644a34309dc75f28802126533f3ac1cb8d48599af8cb7caca83b866c9193286396f81c5fabc29651 >>> >>> install : $(TARGET) >>> >>> -- >>> 2.43.0 >>> >>> >> >> >
