Bug#1076448: linux: Update from 5.10.218 to 5.10.221 breaks NFS re-exports
On Tue, 16 Jul 2024, Salvatore Bonaccorso wrote:
Moin Salvatore,
Thanks for the quick reply!
> Would it be possible that you give the following nfs-utils package a
> try and see if they fix your problem?
Sure, easy as I already setup a reproducer in some throw-away VMs
before reporting the bug.
> https://people.debian.org/~carnil/tmp/1076448/
>
> The packages are not signed, but I have put a sha256sum.list file
> along the files signed with my GPG key found in the Debian keyring.
> (alternatively do rebuild the packages).
>
> Can you report back?
They work perfectly fine!
Needed to also manually install the missing libnfsidmap2 package,
but once in a real repository those dependencies will be taken
care of.
mytest-sh ~ # wget -nd https://people.debian.org/~carnil/tmp/1076448/nfs-kernel-server_1.3.4-6+deb11u1_amd64.deb https://people.debian.org/~carnil/tmp/1076448/nfs-common_1.3.4-6+deb11u1_amd64.deb
...
mytest-sh ~ # dpkg -i nfs-kernel-server_1.3.4-6+deb11u1_amd64.deb nfs-common_1.3.4-6+deb11u1_amd64.deb
Selecting previously unselected package nfs-kernel-server.
(Reading database ... 56033 files and directories currently installed.)
Preparing to unpack nfs-kernel-server_1.3.4-6+deb11u1_amd64.deb ...
Unpacking nfs-kernel-server (1:1.3.4-6+deb11u1) ...
Selecting previously unselected package nfs-common.
Preparing to unpack nfs-common_1.3.4-6+deb11u1_amd64.deb ...
Unpacking nfs-common (1:1.3.4-6+deb11u1) ...
dpkg: dependency problems prevent configuration of nfs-common:
nfs-common depends on libnfsidmap2; however:
Package libnfsidmap2 is not installed.
dpkg: error processing package nfs-common (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nfs-kernel-server:
nfs-kernel-server depends on nfs-common (= 1:1.3.4-6+deb11u1); however:
Package nfs-common is not configured yet.
dpkg: error processing package nfs-kernel-server (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.9.4-2) ...
Errors were encountered while processing:
nfs-common
nfs-kernel-server
mytest-sh ~ # apt install libnfsidmap2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
libnfsidmap2
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 32,6 kB of archives.
After this operation, 118 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main amd64 libnfsidmap2 amd64 0.25-6 [32,6 kB]
Fetched 32,6 kB in 0s (311 kB/s)
Selecting previously unselected package libnfsidmap2:amd64.
(Reading database ... 56135 files and directories currently installed.)
Preparing to unpack .../libnfsidmap2_0.25-6_amd64.deb ...
Unpacking libnfsidmap2:amd64 (0.25-6) ...
Setting up libnfsidmap2:amd64 (0.25-6) ...
Setting up nfs-common (1:1.3.4-6+deb11u1) ...
Replacing config file /etc/idmapd.conf with new version
nfs-utils.service is a disabled or a static unit not running, not starting it.
Setting up nfs-kernel-server (1:1.3.4-6+deb11u1) ...
Installing new version of config file /etc/init.d/nfs-kernel-server ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.31-13+deb11u10) ...
mytest-sh ~ # dpkg -i nfs-kernel-server_1.3.4-6+deb11u1_amd64.deb nfs-common_1.3.4-6+deb11u1_amd64.deb
(Reading database ... 56146 files and directories currently installed.)
Preparing to unpack nfs-kernel-server_1.3.4-6+deb11u1_amd64.deb ...
Unpacking nfs-kernel-server (1:1.3.4-6+deb11u1) over (1:1.3.4-6+deb11u1)
...
Preparing to unpack nfs-common_1.3.4-6+deb11u1_amd64.deb ...
Unpacking nfs-common (1:1.3.4-6+deb11u1) over (1:1.3.4-6+deb11u1) ...
Setting up nfs-common (1:1.3.4-6+deb11u1) ...
nfs-utils.service is a disabled or a static unit not running, not starting it.
Setting up nfs-kernel-server (1:1.3.4-6+deb11u1) ...
Processing triggers for man-db (2.9.4-2) ...
mytest-sh ~ # systemctl restart nfs-server
mytest-sh ~ #
And mount from the test client working perfectly:
mytest-eq ~ # mount -t nfs mytest-sh:/media/nfsroot/pvsbackup /mnt/tmp
mytest-eq ~ # df
...
mytest-sh:/media/nfsroot/pvsbackup 22871289344 6205200128 16666089216 28% /mnt/tmp
Thanks again for the very quick response!
c'ya
sven-haegar
--
Three may keep a secret, if two of them are dead.
- Ben F.
Reply to: