Path: csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!news.dns-netz.com!news.freedyn.net!aioe.org!bofh.it!news.nic.it!robomod From: Mario Lang Newsgroups: linux.debian.bugs.dist,linux.debian.kernel Subject: Bug#971238: Expose RPCNFSDOPTS in /etc/default/nfs-kernel-server Date: Sun, 27 Sep 2020 22:40:01 +0200 Message-ID: X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sun Sep 27 20:30:09 2020 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: -3.751 Reply-To: Mario Lang , 971238@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: cluster@tugraz.at, Debian kernel team X-Debian-Pr-Message: report 971238 X-Debian-Pr-Package: nfs-utils X-Debian-Pr-Source: nfs-utils X-Spam-Bayes: score:0.0000 Tokens: new, 20; hammy, 150; neutral, 59; spammy, 0. spammytokens: hammytokens:0.000-+--H*u:Gnus, 0.000-+--H*u:linux, 0.000-+--H*UA:linux, 0.000-+--H*u:gnu, 0.000-+--H*UA:gnu Dkim-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Bzxxw6Hbqz1LLyX Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1601238389; bh=JAEfulSPWodFnTo0XmHA5DKAQgQh9p++OAM/Y8655B0=; h=From:To:Subject:Date:From; b=st3fn7nfQnKGwzTwPtW+NrQIwS/Sgak7bEZqzrR8QdCZrNOK8XdUNEP83n+y37OPe ZBKQAKBA6J9A5VaAPVesCDgYs/sx/lIbbmz5TAzEmhcEIyqffa/q1arH+VXNB3Z5+3 6+90xvs0I54ZC4//1fVywOA0xzrSTddLtQU3C1iU= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Tug-Backscatter-Control: lAa1Aa+Pa1hp/miybLoRww X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-Debian-Message: from BTS X-Mailing-List: archive/latest/1625045 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 48 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 27 Sep 2020 22:26:28 +0200 X-Original-Message-ID: <878scvklu3.fsf@tugraz.at> Xref: csiph.com linux.debian.bugs.dist:1026711 linux.debian.kernel:68275 --=-=-= Content-Type: text/plain Package: nfs-utils Version: 1:1.3.4-4 Severity: wishlist Tag: patch The ability to pass extra options (like --rdma) to rpc.nfsd is currently rather obscured. Looking at /lib/systemd/scripts/nfs-utils_env.sh, I see that RPCNFSDOPTS is being used. However, there is no stub for it in /etc/default/nfs-kernel-server. Since I was trying to enable RDMA, mentioning that option as an example seemed loke a good idea. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=nfs-utils.patch --- nfs-utils-1.3.4/debian/nfs-kernel-server.default.orig 2020-07-26 14:02:00.000000000 +0200 +++ nfs-utils-1.3.4/debian/nfs-kernel-server.default 2020-09-27 21:20:25.375657576 +0200 @@ -1,6 +1,10 @@ # Number of servers to start up RPCNFSDCOUNT=8 +# Options for rpc.nfsd +# To enable RDMA on the server, specify '--rdma' here +RPCNFSDOPTS="" + # Runtime priority of server (see nice(1)) RPCNFSDPRIORITY=0 --=-=-= Content-Type: text/plain -- AR Mario Lang Phone: +43 316 873 6897 Graz University of Technology Mobile: +43 664 60 873 6897 IT-Services for research and teaching Email: mlang@tugraz.at Steyrergasse 30/1, 8010 Graz, Austria Please https://useplaintext.email/ --=-=-=--