commit a90148e471729f693a611435151c825ee3db4bc0 Merge: c66c987 a2a12b3 Author: Ben Hutchings <benh@debian.org> Date: Sun Jul 14 21:32:02 2024 +0000 Merge branch 'state-file-fixes' into 'master' Fixes for handling of state files in /var/lib/nfs See merge request kernel-team/nfs-utils!31 commit a2a12b3e9e8b8940d2b5275d18c5409128949a10 Author: Ben Hutchings <benh@debian.org> Date: Thu Jul 11 01:23:18 2024 +0200 nfs-common: Remove /var/lib/nfs/{sm,sm.bak,state} in unusual removal cases Currently the prerm script removes these state files only when the first argument is "remove". But there are other cases where a package is removed and prerm is called with different arguments. It should remove them in any case other than "upgrade" or "failed-upgrade", so do that. commit 376dfa82eadc568b4de1d2ff646b7d97ceec39aa Author: Ben Hutchings <benh@debian.org> Date: Thu Jul 11 00:52:19 2024 +0200 nfs-kernel-server: Don't remove /var/lib/nfs/{etab,rmtab} in a failed upgrade The prerm script should not and does not remove these state files if the first argument is "upgrade". But this should also apply in case it's "failed-upgrade". commit e906e92a0321bf556b5fe5111e63f9f551b19b8c Author: Ben Hutchings <benh@debian.org> Date: Thu Jul 11 00:46:59 2024 +0200 Preserve /var/lib/nfs/{etab,rmtab,state} on upgrade from old version Upgrades from this version will leave /var/lib/nfs/{etab,rmtab,state} untouched since they are no longer shipped. However, in an upgrade from an older version dpkg will remove them. As a workaround for that, create backup links in the preinst script at the beginning of such an upgrade, and move the backups back into place in the postinst script. commit 6ad705d72c59b2fa00f3e5ce76accc87beb2110d Author: Ben Hutchings <benh@debian.org> Date: Thu Jul 11 00:41:18 2024 +0200 Stop shipping /var/lib/nfs/{etab,rmtab,state} (Closes: #1074359) We currently ship empty files /var/lib/nfs/{etab,rmtab} in nfs-kernel-server and /var/lib/nfs/state in nfs-common, as well as creating and removing some of them in maintainer scripts. But these are local state files that should not be overwritten in upgrades. As a first step, stop shipping them. This will result in later upgrades doing the right thing, but will cause them to be removed during an upgrade from an older version. In nfs-common postinst, create /var/lib/nfs/state if missing. nfs-kernel-server already created its state files if missing. commit c66c98767c373c2a5bab8c3f51936a0c4b4fc08d Author: Salvatore Bonaccorso <carnil@debian.org> Date: Thu Jul 11 12:46:07 2024 +0200 debian/changelog: Add entries from Andreas Hasenack's changes Gbp-Dch: Ignore commit 3c1ddd278e0c18d775643fc498144bfa358e6fa1 Merge: 3d5e604 f799227 Author: Ben Hutchings <benh@debian.org> Date: Tue Jul 9 18:46:34 2024 +0000 Merge branch 'debian-nfsutils-dep8' into 'master' A couple more DEP8 tests See merge request kernel-team/nfs-utils!15 commit f79922783968efaef20bc6ed3be7221b7594839c Author: Andreas Hasenack <andreas.hasenack@canonical.com> Date: Mon Aug 21 10:08:51 2023 -0300 d/t/util: remove unused die() function commit b1bd5081b9bbbfb89d396021abf434e7a4ee424e Author: Andreas Hasenack <andreas.hasenack@canonical.com> Date: Mon Aug 21 10:07:58 2023 -0300 d/t/util: remove shebang commit 9de5f043b6edeff3602218157264f5303f4eea0a Author: Andreas Hasenack <andreas.hasenack@canonical.com> Date: Mon Aug 21 10:05:56 2023 -0300 v3-mount: improve cleanup() commit ecf4b5167124eb53c8b3c958fab1e418af7a242f Author: Andreas Hasenack <andreas.hasenack@canonical.com> Date: Mon Aug 21 09:49:58 2023 -0300 kerberos-mount: improve cleanup() commit 3e32bcc73406c2aebed295f550e7029a72b23387 Author: Andreas Hasenack <andreas@canonical.com> Date: Fri Mar 4 17:15:03 2022 -0300 d/t/{control, v3-mount}: specific NFSv3 mount test commit bf2b9688c37378c8352e7b0facf02cb3846cdac8 Author: Andreas Hasenack <andreas@canonical.com> Date: Fri Mar 4 15:31:34 2022 -0300 d/t/{control,kerberos-mount,util}: test NFSv4 krb5p mounts
Among the 5 debian patches available in version 1:2.6.4-5 of the package, we noticed the following issues: