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


Groups > linux.debian.kernel > #94674

Bug#1151866: nfs-common: host= setting in nfs.conf inadaquate

From Salvatore Bonaccorso <carnil@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1151866: nfs-common: host= setting in nfs.conf inadaquate
Date 2026-10-29 07:30 +0100
Message-ID <NTrO9-8zrc-1@gated-at.bofh.it> (permalink)
References <NRzd7-7vmS-1@gated-at.bofh.it> <NRzd7-7vmS-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Control: tags -1 +moreinfo

Hi,

On Fri, Oct 23, 2026 at 06:53:21PM -0700, Elliott Mitchell wrote:
> Package: nfs-common
> Version: 1:2.8.3-1
> 
> The "host=" setting in /etc/nfs.conf isn't fit for the function it needs
> to perform.  Of note it doesn't allow binding to multiple addresses.  It
> also doesn't allow restricting to binding IPv4-only nor IPv6-only.  In
> fact I was unable to get it to restrict IPv6 binding at all.
> 
> Multiple addresses is a common configuration.  Disabling IPv4 or IPv6
> are also common.
> 
> It also appears stopping/starting `/etc/init.d/nfs-kernel-server` appears
> to leave old address bindings in place.  If the "host=" setting is added,
> then the daemon is restarted it will remain bound to the wildcard
> address.
> 
> NFS is a service which should be filtered at firewalls, but it should
> still be possible to restrict binding as a backup security measure.  I'm
> tempted to rate this as pretty high importance.

Thanks for your report. Those are rather questions and issues to bring
to upstream. Can you report them to upstream via the linux-nfs
mailinglist (linux-nfs@vger.kernel.org) and please include as well
both Steve Dickson <steved@redhat.com> directly and this Debian
downstream bugreport, so we can keep track.

Regards,
Salvatore

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


Thread

Bug#1151866: nfs-common: host= setting in nfs.conf inadaquate Elliott Mitchell <ehem+debian@m5p.com> - 2026-10-24 04:00 +0200
  Processed: Re: Bug#1151866: nfs-common: host= setting in nfs.conf  inadaquate "Debian Bug Tracking System" <owner@bugs.debian.org> - 2026-10-29 07:30 +0100
  Bug#1151866: nfs-common: host= setting in nfs.conf inadaquate Salvatore Bonaccorso <carnil@debian.org> - 2026-10-29 07:30 +0100
    Bug#1151866: nfs-common: host= setting in nfs.conf inadaquate Elliott Mitchell <ehem+debian@m5p.com> - 2026-10-31 02:30 +0100
  Bug#1151866: nfs-common: host= setting in nfs.conf inadaquate Uwe Kleine-König <ukleinek@debian.org> - 2026-11-04 22:50 +0100

csiph-web