Bug#1049450: New rpc.mountd rejects -N 2 option

2023-08-16 Thread Elliott Mitchell
On Wed, Aug 16, 2023 at 08:57:16AM +0200, Salvatore Bonaccorso wrote:
> 
> On Tue, Aug 15, 2023 at 04:13:59PM -0700, Elliott Mitchell wrote:
> > Package: nfs-kernel-server
> > Version: 1:2.6.2-4
> > 
> > Hopefully SSIA.
> > 
> > `rpc.mountd` has a -N option to disable versions of NFS.
> > 
> > I had been previously using "-N 2", but that is now broken.  The error
> > message was quite non-helpful ("nfsd2" if I recall correctly).  Upon
> > removing "-N 2", luckily NFSv2 didn't get enabled, but this was still
> > annoying to deal with.  At worst using a deprecated setting should merely
> > generate a warning.
> 
> Removal of NFSv2 support was documented with a Debian NEWS entry for
> 1:2.6.1-1~exp1, cf. #1006650.
> 
> nfs-utils (1:2.6.1-1~exp1) unstable; urgency=medium
> 
>   Support for NFSv2 has been removed from nfs-kernel-server.  It was
>   previously disabled by default, but still available.
> 
>  -- Ben Hutchings   Sun, 13 Mar 2022 19:05:02 +0100

Removing NFSv2 support shouldn't invalidate "-N 2".  "-N 2" is supposed
to disable NFSv2 at runtime, as such removing all NFSv2 support should
merely render "-N 2" 100% redundant and at worst produce a warning.


-- 
(\___(\___(\__  --=> 8-) EHM <=--  __/)___/)___/)
 \BS (| ehem+sig...@m5p.com  PGP 87145445 |)   /
  \_CS\   |  _  -O #include  O-   _  |   /  _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445



Bug#1049450: New rpc.mountd rejects -N 2 option

2023-08-15 Thread Elliott Mitchell
Package: nfs-kernel-server
Version: 1:2.6.2-4

Hopefully SSIA.

`rpc.mountd` has a -N option to disable versions of NFS.

I had been previously using "-N 2", but that is now broken.  The error
message was quite non-helpful ("nfsd2" if I recall correctly).  Upon
removing "-N 2", luckily NFSv2 didn't get enabled, but this was still
annoying to deal with.  At worst using a deprecated setting should merely
generate a warning.


-- 
(\___(\___(\__  --=> 8-) EHM <=--  __/)___/)___/)
 \BS (| ehem+sig...@m5p.com  PGP 87145445 |)   /
  \_CS\   |  _  -O #include  O-   _  |   /  _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445