Bug#1006518: nfs-common: mount nfsv4 hangs
Package: nfs-common
Version: 1:2.6.1-1
Severity: important
After nfs-common and libnfsidmap update to version
ii libnfsidmap1:amd64 1:2.6.1-1 amd64 NFS idmapping library
ii nfs-common 1:2.6.1-1 amd64 NFS support files common to client and server
mounting nfs v4 hangs, no visible output in dmesg, switching to vers=3 works fine.
rpcdebug shows:
Feb 26 15:00:43 vostro kernel: [ 1215.145253] nfs_create_rpc_client: cannot create RPC client. Error = -22
Feb 26 15:00:43 vostro kernel: [ 1215.159259] nfs41_sequence_process: Error 0 free the slot
Feb 26 15:00:43 vostro kernel: [ 1215.162745] nfs41_sequence_process: Error 0 free the slot
Feb 26 15:00:43 vostro kernel: [ 1215.163454] nfs41_sequence_process: Error 0 free the slot
Feb 26 15:00:43 vostro kernel: [ 1215.164258] nfs41_sequence_process: Error 0 free the slot
Feb 26 15:00:43 vostro kernel: [ 1215.165173] nfs41_sequence_process: Error 0 free the slot
Feb 26 15:00:43 vostro kernel: [ 1215.166036] nfs41_sequence_process: Error 0 free the slot
Feb 26 15:00:43 vostro kernel: [ 1215.166853] nfs41_sequence_process: Error 0 free the slot
Feb 26 15:00:43 vostro kernel: [ 1215.167682] nfs41_sequence_process: Error 0 free the slot
Feb 26 15:00:43 vostro kernel: [ 1215.168433] nfs41_sequence_process: Error 0 free the slot
Feb 26 15:00:43 vostro kernel: [ 1215.169193] nfs41_sequence_process: Error 0 free the slot
Feb 26 15:00:44 vostro kernel: [ 1215.273955] nfs41_sequence_process: Error 0 free the slot
Feb 26 15:00:44 vostro kernel: [ 1215.477807] nfs41_sequence_process: Error 0 free the slot
Feb 26 15:00:44 vostro kernel: [ 1215.885686] nfs41_sequence_process: Error 0 free the slot
Feb 26 15:00:45 vostro kernel: [ 1216.717869] nfs41_sequence_process: Error 0 free the slot
Feb 26 15:00:47 vostro kernel: [ 1218.349984] nfs41_sequence_process: Error 0 free the slot
Feb 26 15:00:50 vostro kernel: [ 1221.745568] nfs41_sequence_process: Error 0 free the slot
Feb 26 15:00:57 vostro kernel: [ 1228.397803] nfs41_sequence_process: Error 0 free the slot
Feb 26 15:01:10 vostro kernel: [ 1241.453733] nfs41_sequence_process: Error 0 free the slot
Feb 26 15:01:22 vostro kernel: [ 1253.340717] <-- nfs4_try_get_tree() = -4 [error]
Feb 26 15:01:22 vostro kernel: [ 1253.364230] NFS: Got error -512 from the server on DESTROY_SESSION. Session has been destroyed regardless...
Feb 26 15:01:22 vostro kernel: [ 1253.364360] NFS: Got error -512 from the server NAS on DESTROY_CLIENTID.
did a test on clean 'testing' vm, and after upgrading to 'unstable' same issue occured
-- Package-specific info:
-- rpcinfo --
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 60287 status
100024 1 tcp 60425 status
-- /etc/default/nfs-common --
NEED_STATD=
STATDOPTS=
NEED_IDMAPD=
NEED_GSSD=
-- /etc/idmapd.conf --
[General]
Verbosity = 0
[Mapping]
Nobody-User = nobody
Nobody-Group = nogroup
-- /etc/fstab --
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.16.0-2-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages nfs-common depends on:
ii adduser 3.118
ii init-system-helpers 1.62
ii keyutils 1.6.1-2
ii libc6 2.33-7
ii libcap2 1:2.44-1
ii libcom-err2 1.46.5-2
ii libdevmapper1.02.1 2:1.02.175-2.1
ii libevent-core-2.1-7 2.1.12-stable-1
ii libgssapi-krb5-2 1.19.2-2
ii libkeyutils1 1.6.1-2
ii libkrb5-3 1.19.2-2
ii libmount1 2.37.3-1+b1
ii libnfsidmap1 1:2.6.1-1
ii libtirpc3 1.3.2-2
ii libwrap0 7.6.q-31
ii lsb-base 11.1.0
ii python3 3.9.8-1
ii rpcbind 1.2.6-2
ii ucf 3.0043
nfs-common recommends no packages.
Versions of packages nfs-common suggests:
pn open-iscsi <none>
pn watchdog <none>
-- no debconf information
Reply to: