Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #76691
| From | Alfredo Sola <reportbug@sola.es> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#1022823: nfs-kernel-server: /etc/default/nfs-kernel-server needs RPCNFSDOPTS |
| Date | 2022-10-26 16:10 +0200 |
| Message-ID | <FkPgt-gRLc-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
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
Back to linux.debian.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#1022823: nfs-kernel-server: /etc/default/nfs-kernel-server needs RPCNFSDOPTS Alfredo Sola <reportbug@sola.es> - 2022-10-26 16:10 +0200 Bug#1022823: marked as done (nfs-kernel-server: /etc/default/nfs-kernel-server needs RPCNFSDOPTS) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2022-10-28 08:50 +0200 Bug#1022823: nfs-kernel-server: /etc/default/nfs-kernel-server needs RPCNFSDOPTS Salvatore Bonaccorso <carnil@debian.org> - 2022-10-28 08:50 +0200
csiph-web