]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Mention manual cleanup of no-longer-built modules if manual upgrade. 16575/head
authorMiod Vallat <miod.vallat@powerdns.com>
Fri, 28 Nov 2025 15:15:23 +0000 (16:15 +0100)
committerMiod Vallat <miod.vallat@powerdns.com>
Fri, 28 Nov 2025 15:15:23 +0000 (16:15 +0100)
Fixes: #16549
Signed-off-by: Miod Vallat <miod.vallat@powerdns.com>
docs/upgrading.rst

index a44dbe48cac8790ea20147a8749e2eff5bfbde03..bd56ea6e7aa4a9556c282e55a67a9026788ebc04 100644 (file)
@@ -28,6 +28,25 @@ representation than expected.
 4.9.0 to 5.0.0
 --------------
 
+Leftover backend module files
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Until version 5.0.0, built-in backend modules also had a matching dynamic
+module being built. From version 5.0.0 onwards, this is no longer the case,
+but if not upgrading with a package manager, unless files from previous versions
+are manually removed, the Authoritative server will try to load these old
+files anyway, and fail.
+
+In this case, it is recommended that you run::
+
+  rm /usr/local/lib/pdns/lib*.so
+
+(substituting the appropriate PowerDNS installation directory to ``/usr/local``)
+prior to the installation.
+Or you can inspect the contents of this directory after installation and
+remove the files which are not present in version 5.0.0, based on their
+timestamps.
+
 LMDB backend, views
 ^^^^^^^^^^^^^^^^^^^