Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #74154 > unrolled thread

Bug#1003564: Expose RPCNFSDOPTS in /etc/default/nfs-kernel-server

Started byGraham Cobb <g+debian@cobb.uk.net>
First post2022-01-11 22:40 +0100
Last post2022-01-11 23:40 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#1003564: Expose RPCNFSDOPTS in /etc/default/nfs-kernel-server Graham Cobb <g+debian@cobb.uk.net> - 2022-01-11 22:40 +0100
    Bug#1003564: Expose RPCNFSDOPTS in /etc/default/nfs-kernel-server Salvatore Bonaccorso <carnil@debian.org> - 2022-01-11 23:40 +0100

#74154 — Bug#1003564: Expose RPCNFSDOPTS in /etc/default/nfs-kernel-server

FromGraham Cobb <g+debian@cobb.uk.net>
Date2022-01-11 22:40 +0100
SubjectBug#1003564: Expose RPCNFSDOPTS in /etc/default/nfs-kernel-server
Message-ID<DEx21-89Q-7@gated-at.bofh.it>
Package: nfs-kernel-server
Version: 1:1.3.4-6
Followup-For: Bug #971238

I have also hit the problem about how to specify nfs-server options,
which still exists in this version.

Fortunately the equivalent Ubuntu bug report
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1898778 comes up in a search.

Setting RPCNFSDOPTS in /etc/default/nfs-kernel-server does work to set options
for the nfs-server but is not documented. Please add a RPCNFSDOPTS example to
/etc/default/nfs-kernel-server.

Note: I have edited the example in the data reportbug has included from my system below.


-- 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  50184  mountd
    100005    1   tcp  42817  mountd
    100005    2   udp  40770  mountd
    100005    2   tcp  47165  mountd
    100005    3   udp  50926  mountd
    100005    3   tcp  33759  mountd
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100227    3   tcp   2049
    100003    3   udp   2049  nfs
    100227    3   udp   2049
    100021    1   udp  33727  nlockmgr
    100021    3   udp  33727  nlockmgr
    100021    4   udp  33727  nlockmgr
    100021    1   tcp  38271  nlockmgr
    100021    3   tcp  38271  nlockmgr
    100021    4   tcp  38271  nlockmgr
-- /etc/default/nfs-kernel-server --
RPCNFSDCOUNT=8
RPCNFSDPRIORITY=0
RPCMOUNTDOPTS="--manage-gids"
NEED_SVCGSSD=""
RPCSVCGSSDOPTS=""
RPCNFSDOPTS="-H my.vpn.hostname"
-- /etc/exports --

-- System Information:
Debian Release: 11.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-10-amd64 (SMP w/1 CPU thread)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.utf8), LANGUAGE=en_GB:en
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.1-2
ii  libblkid1     2.36.1-8
ii  libc6         2.31-13+deb11u2
ii  libcap2       1:2.44-1
ii  libsqlite3-0  3.34.1-3
ii  libtirpc3     1.3.1-1
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

[toc] | [next] | [standalone]


#74158

FromSalvatore Bonaccorso <carnil@debian.org>
Date2022-01-11 23:40 +0100
Message-ID<DExY6-h9-7@gated-at.bofh.it>
In reply to#74154
Hi,

On Tue, Jan 11, 2022 at 09:17:56PM +0000, Graham Cobb wrote:
> Package: nfs-kernel-server
> Version: 1:1.3.4-6
> Followup-For: Bug #971238
> 
> I have also hit the problem about how to specify nfs-server options,
> which still exists in this version.
> 
> Fortunately the equivalent Ubuntu bug report
> https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1898778 comes up in a search.
> 
> Setting RPCNFSDOPTS in /etc/default/nfs-kernel-server does work to set options
> for the nfs-server but is not documented. Please add a RPCNFSDOPTS example to
> /etc/default/nfs-kernel-server.

See #539201 for instance, which I'm going to merge this bug into.

But this won't be implemented as with the new upstream version, we
introduce the upstream handling via /etc/nfs.conf.

If you have the possibility, please do test the experimental version.
Once we are confident enough we want to move this one to unstable, and
so make it as basis for bookworm.

Regards,
Salvatore

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web