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


Groups > linux.debian.kernel > #83056

Bug#648635: May be it is out of nfs-utils' control

Path csiph.com!tncsrv06.tnetconsulting.net!newsfeed.endofthelinebbs.com!news.corradoroberto.it!gothmog.csi.it!bofh.it!news.nic.it!robomod
From "WHR" <whr@rivoreo.one>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#648635: May be it is out of nfs-utils' control
Date Wed, 17 Jul 2024 07:00:01 +0200
Message-ID <J14VH-2FS6-7@gated-at.bofh.it> (permalink)
References <J13Gh-2F78-1@gated-at.bofh.it> <hWLJ8-67q-15@gated-at.bofh.it> <J13Gh-2F78-1@gated-at.bofh.it>
X-Original-To 648635@bugs.debian.org
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Wed Jul 17 04:51:13 2024
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score 1.436
Reply-To "WHR" <whr@rivoreo.one>, 648635@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian kernel team <debian-kernel@lists.debian.org>
X-Debian-Pr-Message followup 648635
X-Debian-Pr-Package nfs-kernel-server
X-Debian-Pr-Source nfs-utils
User-Agent SquirrelMail/1.4.23 [Rivoreo]
MIME-Version 1.0
Content-Type text/plain;charset=UTF-8
Content-Transfer-Encoding 8bit
Importance Normal
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1847339
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 15
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Wed, 17 Jul 2024 04:48:55 -0000
X-Original-Message-ID <d88b9c56e5570720dde1b0dd3ec22ae5.squirrel@_>
X-Original-References <08e3aaa022f406e4db07ae6475c54bc3.squirrel@_> <4EC00714.2000200@gmx.de> <08e3aaa022f406e4db07ae6475c54bc3.squirrel@_>
Xref csiph.com linux.debian.bugs.dist:1204599 linux.debian.kernel:83056

Cross-posted to 2 groups.

Show key headers only | View raw


I found a workaround.

By using option '--host' in rpc.nfsd(8), it will creating the socket from user
space, then passing the file descriptor to kernel via /proc/fs/nfsd/portlist;
thus bypasses the previously mentioned socket creation code in kernel.

So to listen on IPv4 only, pass option '--host=0.0.0.0' to rpc.nfsd(8). For
Debian Bullseye and early releases, add this option to 'RPCNFSDOPTS' variable
of file /etc/default/nfs-kernel-server; for example:
	RPCNFSDOPTS="--no-udp --host=0.0.0.0"
For later releases, simply set the 'host' directive under '[nfsd]' section.

Now I have:
	# netstat -nl | grep -F :2049
	tcp        0      0 0.0.0.0:2049            0.0.0.0:*               LISTEN

Back to linux.debian.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#648635: May be it is out of nfs-utils' control "WHR" <whr@rivoreo.one> - 2024-07-17 05:40 +0200
  Bug#648635: May be it is out of nfs-utils' control "WHR" <whr@rivoreo.one> - 2024-07-17 07:00 +0200
  Bug#648635: May be it is out of nfs-utils' control "WHR" <whr@rivoreo.one> - 2024-07-17 07:00 +0200

csiph-web