Article View: linux.debian.bugs.dist
Article #937Bug#1150964: nfs-kernel-server: autostart or listeners won't start with nfsdctl reporting "Error: Invalid argument"
From: Christian Montanari
Date: Thu, 15 Oct 2026 09:50
Date: Thu, 15 Oct 2026 09:50
105 lines
7285 bytes
7285 bytes
Package: nfs-kernel-server
Version: 1:3.1.1-1
Severity: important
Tags: upstream
running "nfsdctl autostart" fails to start any kernel nfs servers
, this , reporting "nfsdctl: Error: Invalid argument".
same with trying instanciating a listener as the event kernel trace for "nfsdctl listener +tcp::2049" shows...:
"...
# tracer: function_graph
#
# CPU DURATION FUNCTION CALLS
# | | | | | | |
3) | /* netlink_extack: msg=Unknown attribute type */
..."
("nfsdctl listener +tcp:127.0.0.1:2049" is with same invalid argument).
using commands ...:
cd /sys/kernel/tracing # as root
echo nfsd_nl_listener_set_doit > set_graph_function
echo function_graph > current_tracer
echo 1 > options/funcgraph-retval # if your kernel has it
echo 1 > events/netlink/netlink_extack/enable
echo 1 > tracing_on
nfsdctl listener +tcp::2049
echo 0 > tracing_on
cat trace
I had a jugle with https://claude.ai/chat/feb4de00-a80d-4063-b9d6-eec0417ce2f9 ,
and it pointed out to look for some mismatch with /usr/include/linux/nfsd_netlink.h and the one of kernel releases,
since kernel users interactions are done using agreed and well ordered codes...(must be with the 'NFSD_A_' families).
those must have been sabotaged to avoid backward compatibility....!
(I speculate also that, consequently, "mount -t nfs4 -o sec=krb5..." will fail client side with same error.)
TBC.
-- 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
100005 1 udp 55372 mountd
100005 1 tcp 48807 mountd
100005 2 udp 35943 mountd
100005 2 tcp 46917 mountd
100003 4 tcp 2049 nfs
100024 1 udp 57881 status
100024 1 tcp 49885 status
-- /etc/default/nfs-kernel-server --
-- System Information:
Debian Release: forky/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'oldstable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 7.1.13+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_CPU_OUT_OF_SPEC, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages nfs-kernel-server depends on:
ii keyutils 1.6.3-6+b2
ii libblkid1 2.42.4-1
ii libc6 2.43-7
ii libcap2 1:2.78-1+b1
ii libevent-core-2.1-7t64 2.1.13-stable-1
ii libnl-3-200 3.12.0-2+b1
ii libnl-genl-3-200 3.12.0-2+b1
ii libreadline8t64 8.3-4
ii libsqlite3-0 3.53.4-2
ii libtirpc3t64 1.3.7+ds-1
ii libuuid1 2.42.4-1
ii libwrap0 7.6.q-37
ii libxml2-16 2.15.4+dfsg-1
ii netbase 6.6
ii nfs-common 1:3.1.1-1
ii ucf 3.0056
Versions of packages nfs-kernel-server recommends:
ii python3 3.14.7-3
ii python3-yaml 6.0.3-1+b1
Versions of packages nfs-kernel-server suggests:
ii procps 2:4.0.7-1
-- no debconf information
Technical Details
Message-ID:
<NOqg1-5EZJ-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Christian Montanari <cp.montanari@bbox.fr> Newsgroups: linux.debian.bugs.dist,linux.debian.kernel Subject: Bug#1150964: nfs-kernel-server: autostart or listeners won't start with nfsdctl reporting "Error: Invalid argument" Date: Thu, 15 Oct 2026 11:50:01 +0200 Message-ID: <NOqg1-5EZJ-1@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Thu Oct 15 09:47:09 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.451 Reply-To: Christian Montanari <cp.montanari@bbox.fr>, 1150964@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-kernel@lists.debian.org X-Debian-Pr-Message: report 1150964 X-Debian-Pr-Package: nfs-kernel-server X-Debian-Pr-Keywords: upstream X-Debian-Pr-Source: nfs-utils Dkim-Filter: OpenDKIM Filter v2.11.0 mail-2y.bbox.fr 36EAC400008D Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: reportbug 13.2.0+nmu1 X-Vade-Spamstate: clean X-Vade-Spamcause: gggruggvucftvghtrhhoucdtuddrgeefiedrtddvgdduvddvtdduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuuefqfggjifgfgffupdcuqfgfvfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddtnecunecujfgurheptggggffhvffurhfkofffsehtjedttdertddvnecuhfhrohhmpeevhhhrihhsthhirghnucfoohhnthgrnhgrrhhiuceotghprdhmohhnthgrnhgrrhhisegssghogidrfhhrqeenucggtffrrghtthgvrhhnpeffffdvkedtieefvefhjeehteffffekteduueelheekkefftedtieevjeejieejveenucffohhmrghinheptghlrghuuggvrdgrihenucfkphepudejiedrudegvddrjedvrdekjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedujeeirddugedvrdejvddrkeejpdhhvghloheptghhohhutggrshdrlhgrnhdpmhgrihhlfhhrohhmpegtphdrmhhonhhtrghnrghrihessggsohigrdhfrhdpnhgspghrtghpthhtohepvddprhgtphhtthhopehsuhgsmhhithessghughhsrdguvggsihgrnhdrohhrghdprhgtphhtthhopegtphdrmhhonhhtrghnrghrihessggsohigrdhfrh X-Vade-Spamstate: clean X-Vade-Spamcause: gggruggvucftvghtrhhoucdtuddrgeefiedrtddvgdduvddvtdduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuuefqfggjifgfgffupdcuqfgfvfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddtnecunecujfgurheptggggffhvffurhfkofffsehtjedttdertddvnecuhfhrohhmpeevhhhrihhsthhirghnucfoohhnthgrnhgrrhhiuceotghprdhmohhnthgrnhgrrhhisegssghogidrfhhrqeenucggtffrrghtthgvrhhnpeffffdvkedtieefvefhjeehteffffekteduueelheekkefftedtieevjeejieejveenucffohhmrghinheptghlrghuuggvrdgrihenucfkphepudejvddrvdegrddvtdelrddvfeeipddujeeirddugedvrdejvddrkeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudejvddrvdegrddvtdelrddvfeeipdhhvghloheprhgvlhgrhidqshgrshhlqddvhidrtghsrdhprhgurdhmlhgsrdhnsgihthdrfhhrpdhmrghilhhfrhhomheptghprdhmohhnthgrnhgrrhhisegssghogidrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepshhusghmihhtsegsuhhgshdruggvsghirghnrdhorhhg X-Greylist: delayed 656 seconds by postgrey-1.37 at buxtehude; Thu, 15 Oct 2026 09:44:09 UTC X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996896 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 105 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 15 Oct 2026 11:33:02 +0200 X-Original-Message-ID: <179205678248.1665775.17882289413091973728.reportbug@choucas.lan>