Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #76735
| From | Salvatore Bonaccorso <carnil@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#1022823: nfs-kernel-server: /etc/default/nfs-kernel-server needs RPCNFSDOPTS |
| Date | 2022-10-28 08:50 +0200 |
| Message-ID | <FlrlL-hfwG-9@gated-at.bofh.it> (permalink) |
| References | <FkPgt-gRLc-3@gated-at.bofh.it> <FkPgt-gRLc-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
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
Back to linux.debian.kernel | Previous | Next — Previous 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