Your message dated Fri, 28 Oct 2022 08:45:34 +0200 with message-id <[email protected]> and subject line Re: Bug#1022823: nfs-kernel-server: /etc/default/nfs-kernel-server needs RPCNFSDOPTS has caused the Debian Bug report #1022823, regarding nfs-kernel-server: /etc/default/nfs-kernel-server needs RPCNFSDOPTS to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 1022823: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022823 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: nfs-kernel-server Version: 1:1.3.4-6 Severity: wishlist Dear Maintainer, I needed a way to have rpc.nfsd bind to a specific IP address. The man page for rpc.nfsd documents a parameter exactly for this, plus some others. At first signt, it seems that there is no Debian way to pass parameters to rpc.nfsd. But there is; RPCNFSDOPTS can be set on /etc/default/nfs-kernel-server. It will then be sourced from /usr/lib/systemd/scripts/nfs-utils_env.sh, which sends its variables to /run/sysconfig/nfs-utils, from where they are read by nfs-server.service. Setting RPCNFSDOPTS solves this issue, so I am suggesting that it be added (empty) to /etc/default/nfs-kernel-server, along with a commentary pointing to the rpc.nfsd man page for information on parameters. -- 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 100003 4 tcp 2049 nfs -- /etc/default/nfs-kernel-server -- RPCNFSDCOUNT=8 RPCNFSDPRIORITY=0 RPCMOUNTDOPTS="--manage-gids -N 2 -N 3" NEED_SVCGSSD="" RPCSVCGSSDOPTS="" RPCNFSDOPTS="-H 10.RED.ACT.ED -N 2 -N 3" -- /etc/exports -- /srv/REDACTED 10.RED.ACT.EF(rw,insecure,nohide,sync,anonuid=4001,anongid=4002) /srv/REDACTED 10.RED.ACT.EF(rw,insecure,nohide,sync,anonuid=4001,anongid=4002) -- /proc/fs/nfs/exports -- # Version 1.1 # Path Client(Flags) # IPs -- System Information: Debian Release: 11.5 APT prefers stable-security APT policy: (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-19-amd64 (SMP w/4 CPU threads) Locale: LANG=en_US.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages nfs-kernel-server depends on: ii keyutils 1.6.1-2 ii libblkid1 2.36.1-8+deb11u1 ii libc6 2.31-13+deb11u4 ii libcap2 1:2.44-1 ii libsqlite3-0 3.34.1-3 ii libtirpc3 1.3.1-1+deb11u1 ii libwrap0 7.6.q-31 ii lsb-base 11.1.0 ii netbase 6.3 ii nfs-common 1:1.3.4-6 ii ucf 3.0043 nfs-kernel-server recommends no packages. nfs-kernel-server suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: nfs-common Source-Version: 1:2.6.1-1 Hi Alfredo, On Wed, Oct 26, 2022 at 01:48:58PM +0000, Alfredo Sola wrote: > Package: nfs-kernel-server > Version: 1:1.3.4-6 > Severity: wishlist > > Dear Maintainer, > > I needed a way to have rpc.nfsd bind to a specific IP address. > > The man page for rpc.nfsd documents a parameter exactly for this, plus some > others. > > At first signt, it seems that there is no Debian way to pass parameters to > rpc.nfsd. > > But there is; RPCNFSDOPTS can be set on /etc/default/nfs-kernel-server. It > will then > be sourced from /usr/lib/systemd/scripts/nfs-utils_env.sh, which sends its > variables > to /run/sysconfig/nfs-utils, from where they are read by nfs-server.service. > > Setting RPCNFSDOPTS solves this issue, so I am suggesting that it be added > (empty) > to /etc/default/nfs-kernel-server, along with a commentary pointing to the > rpc.nfsd > man page for information on parameters. Sincd version 1:2.6.1-1 /etc/nfs.conf settings can be done, or in dropins in /etc/nfs.conf.d/ so closing this bug with that version. Starting there you can set the host= and other parameters in the configuration file in the [nfsd] stanza. Regards, Salvatore
--- End Message ---

