Devuan bug report logs - #928
Add nfs-common and nfs-kernel-server launch options removed in debian 13

version graph

Package: nfs-common; Maintainer for nfs-common is (unknown); Source for nfs-common is src:nfs-utils.

Reported by: dan <dandudikof@gmail.com>

Date: Mon, 1 Dec 2025 19:46:01 UTC

Severity: normal

Tags: debian, moreinfo

Found in version 2.8.3-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#928; Package nfs-common. (Mon, 01 Dec 2025 19:46:01 GMT) (full text, mbox, link).


Acknowledgement sent to dan <dandudikof@gmail.com>:
New bug report received and forwarded. Copy sent to devuan-dev@lists.dyne.org. (Mon, 01 Dec 2025 19:46:02 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

From: dan <dandudikof@gmail.com>
To: submit@bugs.devuan.org
Subject: Add nfs-common and nfs-kernel-server launch options removed in debian 13
Date: Mon, 1 Dec 2025 14:44:01 -0500
Package: nfs-common
Version: 2.8.3-1

Package2: nfs-kernel-server
Version2: 2.8.3-1

Severity: grave

Tags: patch


as peer 
https://salsa.debian.org/kernel-team/nfs-utils/-/blob/debian/latest/debian/nfs-common.NEWS?ref_type=heads

Options related to launching nfs kernel server and support services from

/etc/default/nfs-common
/etc/default/nfs-kernel-server

in liue of /etc/nfs.conf
(by systemd service launching taking over)

now are being ignored by respective init scripts of

/etc/init.d/nfs-common
/etc/init.d/nfs-kernel-server


Propose to bring back the options from previous versions of init files
Until there is support for new /etc/nfs.conf


PS: patches were quick and dirty made on top of unpacked debs not source 
debs, by comparing what was working/needed in devuan5 and missing in 
devuan6.



--- /src/nfs-common_2.8.3-1_amd64/etc/init.d/nfs-common.orig
+++ /src/nfs-common_2.8.3-1_amd64/etc/init.d/nfs-common.new
@@ -20,6 +20,7 @@
 NEED_STATD=
 NEED_GSSD=
 PIPEFS_MOUNTPOINT=/run/rpc_pipefs
+RPCGSSDOPTS=
 if [ -f $DEFAULTFILE ]; then
     . $DEFAULTFILE
 fi
@@ -133,7 +134,7 @@
 	    fi
 	    start-stop-daemon --start --oknodo --quiet \
 		--pidfile /run/rpc.statd.pid \
-	        --exec /usr/sbin/rpc.statd
+	        --exec /sbin/rpc.statd -- $STATDOPTS
 	    RET=$?
 	    if [ $RET != 0 ]; then
 	        log_end_msg $RET
@@ -183,7 +184,7 @@
 		    fi

 		    start-stop-daemon --start --oknodo --quiet \
-			    --exec /usr/sbin/rpc.gssd
+			    --exec /usr/sbin/rpc.gssd -- $RPCGSSDOPTS
 		    RET=$?
 	            if [ $RET != 0 ]; then
         	        log_end_msg $RET





--- /src/nfs-kernel-server_2.8.3-1_amd64/etc/init.d/nfs-kernel-server.orig
+++ /src/nfs-kernel-server_2.8.3-1_amd64/etc/init.d/nfs-kernel-server.new
@@ -25,8 +25,11 @@

 # Read config
 DEFAULTFILE=/etc/default/nfs-kernel-server
+RPCNFSDCOUNT=8
 RPCNFSDPRIORITY=0
+RPCMOUNTDOPTS=
 NEED_SVCGSSD=no
+RPCSVCGSSDOPTS=
 PROCNFSD_MOUNTPOINT=/proc/fs/nfsd
 if [ -f $DEFAULTFILE ]; then
     . $DEFAULTFILE
@@ -98,7 +101,7 @@

 		start-stop-daemon --start --oknodo --quiet \
 		    --nicelevel $RPCNFSDPRIORITY \
-		    --exec $PREFIX/sbin/rpc.nfsd
+		    --exec $PREFIX/sbin/rpc.nfsd -- $RPCNFSDCOUNT
 		RET=$?
 		if [ $RET != 0 ]; then
 			log_end_msg $RET
@@ -121,7 +124,7 @@
 			do_modprobe rpcsec_gss_krb5
 			log_progress_msg "svcgssd"
 			start-stop-daemon --start --oknodo --quiet \
-			    --exec $PREFIX/sbin/rpc.svcgssd
+			    --exec $PREFIX/sbin/rpc.svcgssd -- $RPCSVCGSSDOPTS
 			RET=$?
 			if [ $RET != 0 ]; then
 				log_end_msg $RET
@@ -131,7 +134,7 @@

 		log_progress_msg "mountd"
 		start-stop-daemon --start --oknodo --quiet \
-		    --exec $PREFIX/sbin/rpc.mountd
+		    --exec $PREFIX/sbin/rpc.mountd -- $RPCMOUNTDOPTS
 		RET=$?
 		if [ $RET != 0 ]; then
 			log_end_msg $RET




thanx

dan


Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#928; Package nfs-common. (Tue, 02 Dec 2025 08:14:01 GMT) (full text, mbox, link).


Message #8 received at 928@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: dan <dandudikof@gmail.com>, 928@bugs.devuan.org
Subject: Re: bug#928: Add nfs-common and nfs-kernel-server launch options removed in debian 13
Date: Tue, 2 Dec 2025 08:13:28 +0000
Control: tags -1 debian moreinfo

Dan,

Thanks for this.

Firstly, src:nfs-utils is not forked in Devuan and we use Debian's packages
directly without recompilation. So, ultimately, this should be reported to
Debian's BTS for resolution. It should be equally reproducible on a Debian
trixie non-systemd installation, which is still viable.

Reading the commits, I don't see any intention to break non-systemd
installations although there is an intention to migrate to nfs.conf(5).  So,
providing a tested patch to add LSB-initscript support for nfs.conf would likely
be accepted.

It seems that[1] you existing /etc/default config should have been converted to
/etc/nfs.conf.d/local.conf. Has that happened correctly? What does the file contain?

Mark

[1]  https://salsa.debian.org/kernel-team/nfs-utils/-/commit/6824312704bc066b5867b9777695e46cce52dcbc


Added tag(s) debian and moreinfo. Request was from Mark Hindley <mark@hindley.org.uk> to 928-submit@bugs.devuan.org. (Tue, 02 Dec 2025 08:14:02 GMT) (full text, mbox, link).


Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#928; Package nfs-common. (Tue, 02 Dec 2025 12:32:01 GMT) (full text, mbox, link).


Message #13 received at 928@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: dan <dandudikof@gmail.com>, 928@bugs.devuan.org
Subject: Re: bug#928: Add nfs-common and nfs-kernel-server launch options removed in debian 13
Date: Tue, 2 Dec 2025 12:29:50 +0000
Dan,

On Tue, Dec 02, 2025 at 08:13:28AM +0000, Mark Hindley wrote:
> It seems that[1] you existing /etc/default config should have been converted to
> /etc/nfs.conf.d/local.conf. Has that happened correctly? What does the file contain?

My further reading of the rpc* manpages, suggests /etc/nfs.conf and
/etc/nfs.conf.d are used directly by the programs themselves. So options
configured there don't need to be specified on the command line or in the
initscript.

If /etc/nfs.conf.d/local.conf has been correctly populated, do you have evidence
that it is not being respected?

Mark

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Thu Dec 4 21:14:08 2025;