Debian Bug report logs - #847557
/usr/sbin/exportfs: exportfs cannot handle IPv6 addresses

version graph

Package: nfs-kernel-server; Maintainer for nfs-kernel-server is Debian kernel team <debian-kernel@lists.debian.org>; Source for nfs-kernel-server is src:nfs-utils (PTS, buildd, popcon).

Reported by: Bjoern Laessig <b.laessig@pengutronix.de>

Date: Fri, 9 Dec 2016 11:45:01 UTC

Severity: important

Tags: ipv6

Found in version nfs-utils/1:1.2.8-9.2

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian kernel team <debian-kernel@lists.debian.org>:
Bug#847557; Package nfs-kernel-server. (Fri, 09 Dec 2016 11:45:04 GMT) (full text, mbox, link).


Acknowledgement sent to Bjoern Laessig <b.laessig@pengutronix.de>:
New Bug report received and forwarded. Copy sent to Debian kernel team <debian-kernel@lists.debian.org>. (Fri, 09 Dec 2016 11:45:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Bjoern Laessig <b.laessig@pengutronix.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: /usr/sbin/exportfs: exportfs cannot handle IPv6 addresses
Date: Fri, 9 Dec 2016 12:39:49 +0100
Package: nfs-kernel-server
Version: 1:1.2.8-9.2
Severity: important
File: /usr/sbin/exportfs
Tags: ipv6

Dear Maintainer,

 when trying to export/unexport a path i cannot give IPv6 addresses to
 exportfs.

# showmount -e 
Export list for testhost:
/path/sub fe80::%eth0/10

# exportfs -u [fe80::%eth0]/10:/path/sub
exportfs: Invalid exporting option: [fe80

When removing the [] i get the same error (without [)
When using something like 2001:0db8:1234::/64 the same error occurs.

-- Package-specific info:
-- rpcinfo --
   program vers proto   port  service
    100000    4   tcp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    2   tcp    111  portmapper
    100000    4   udp    111  portmapper
    100000    3   udp    111  portmapper
    100000    2   udp    111  portmapper
    100005    1   udp  59414  mountd
    100005    1   tcp  55223  mountd
    100005    2   udp  44480  mountd
    100005    2   tcp  53745  mountd
    100005    3   udp  41426  mountd
    100005    3   tcp  55737  mountd
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100227    2   tcp   2049
    100227    3   tcp   2049
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100227    2   udp   2049
    100227    3   udp   2049
    100021    1   udp  37459  nlockmgr
    100021    3   udp  37459  nlockmgr
    100021    4   udp  37459  nlockmgr
    100021    1   tcp  34145  nlockmgr
    100021    3   tcp  34145  nlockmgr
    100021    4   tcp  34145  nlockmgr
-- /etc/default/nfs-kernel-server --
RPCNFSDCOUNT=8
RPCNFSDPRIORITY=0
RPCMOUNTDOPTS="--manage-gids"
NEED_SVCGSSD=""
RPCSVCGSSDOPTS=""
-- /etc/exports --
/path/sub 			fe80::%eth0/10(rw,no_subtree_check,no_root_squash)

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.7.0-1-amd64 (SMP w/24 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages nfs-kernel-server depends on:
ii  init-system-helpers  1.46
ii  keyutils             1.5.9-9
ii  libblkid1            2.29-1
ii  libc6                2.24-7
ii  libcap2              1:2.25-1
ii  libsqlite3-0         3.15.2-1
ii  libtirpc1            0.2.5-1
ii  libwrap0             7.6.q-25
ii  lsb-base             9.20161125
ii  netbase              5.3
ii  nfs-common           1:1.2.8-9.2
ii  ucf                  3.0036

nfs-kernel-server recommends no packages.

nfs-kernel-server suggests no packages.

-- no debconf information



Message sent on to Bjoern Laessig <b.laessig@pengutronix.de>:
Bug#847557. (Thu, 15 Dec 2016 13:21:03 GMT) (full text, mbox, link).


Message #8 received at 847557-submitter@bugs.debian.org (full text, mbox, reply):

From: Daniel Pocock <daniel@pocock.pro>
To: 847557-submitter@bugs.debian.org
Subject: nfs-utils updated to 1.3.4-1, please check your bug #847557
Date: Thu, 15 Dec 2016 14:15:18 +0100 (CET)
Thanks for providing a bug report for nfs-utils.
https://bugs.debian.org/847557

There are over 100 open bugs[1] in the nfs-utils package.

The package in Debian sid has recently been updated to v1.3.4-1.

The upstream changelog[2] indicates that many bugs have been fixed
since the version that you tried.

Can you please help reduce the number of bug reports so
developers can see which issues are really outstanding:

- if any other bug in the list[1] is a duplicate of yours, you
  can send a "merge[3]" command to the bug server to link the bugs.

- if your bug is closed by an upstream fix or the latest package,
  please send a "fixed[4]" command to the bug server specifying
  which version introduced the fix.  This will close the bug for
  newer versions.

- if you have time to test the new package, your help would be very
  welcome.  Please see the discussion about the package in
  bug 847681[5].  The source code can be obtained from collab-maint
  and compiled on a Debian jessie/stable system without any
  modifications.  I currently run it on such a system with a 4.7 kernel
  from jessie-backports[6] due to crashes[7] on NFS servers running the
  stable kernel.

Thanks again for your bug report.

Regards,

Daniel


1. https://bugs.debian.org/cgi-bin/pkgreport.cgi?archive=0;ordering=normal;repeatmerged=0;src=nfs-utils
2. http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=shortlog
3. https://www.debian.org/Bugs/server-control#merge
4. https://www.debian.org/Bugs/server-control#fixed
5. https://bugs.debian.org/847681
6. https://packages.debian.org/source/stable-backports/linux
7. https://bugs.debian.org/847549




Information stored :
Bug#847557; Package nfs-kernel-server. (Thu, 15 Dec 2016 13:48:09 GMT) (full text, mbox, link).


Acknowledgement sent to Bjoern Laessig <b.laessig@pengutronix.de>:
Extra info received and filed, but not forwarded. (Thu, 15 Dec 2016 13:48:09 GMT) (full text, mbox, link).


Message #13 received at 847557-quiet@bugs.debian.org (full text, mbox, reply):

From: Bjoern Laessig <b.laessig@pengutronix.de>
To: Daniel Pocock <daniel@pocock.pro>, 847557-quiet@bugs.debian.org
Cc: 847557-submitter@bugs.debian.org
Subject: Re: Bug#847557: nfs-utils updated to 1.3.4-1, please check your bug #847557
Date: Thu, 15 Dec 2016 14:45:04 +0100
On Do, 2016-12-15 at 14:15 +0100, Daniel Pocock wrote:
> Thanks for providing a bug report for nfs-utils.
> https://bugs.debian.org/847557
> - if you have time to test the new package, […]

Trying the package from sid (1:1.3.4-1):

# exportfs [2001:0db8:1234::]/64:/path/sub 
# showmount -e localhost
Export list for localhost:
/path/sub 2001:0db8:1234::/64
# exportfs -u [2001:0db8:1234::]/64:/path/sub


The bug is fixed in nfs-kernel-server version 1:1.3.4-1

Thanks
Björn Lässig





Message sent on to Bjoern Laessig <b.laessig@pengutronix.de>:
Bug#847557. (Thu, 15 Dec 2016 13:48:11 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jan 10 16:23:50 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.