[bugs] [illumos gate - Bug #877] share_nfs cannot share to IPv6 subnets

illumos bugs bugs at lists.illumos.org
Mon Jul 11 06:29:41 PDT 2011


Issue #877 has been updated by Vitaliy Gusev.

Assignee set to Vitaliy Gusev
Difficulty set to Medium
Tags set to needs-triage


----------------------------------------
Bug #877: share_nfs cannot share to IPv6 subnets
https://www.illumos.org/issues/877

Author: River Tarnell
Status: New
Priority: Normal
Assignee: Vitaliy Gusev
Category: cmd - userland programs
Target version: 
Difficulty: Medium
Tags: needs-triage


It is currently impossible to export an NFS filesystem to an IPv6 network (rather than a single host), because share_nfs has no way to accept literal IPv6 addresses; instead ":" is used to separate hosts, e.g.: @share_nfs -orw=host1:host2:host3@

Sharing to a named network doesn't work either, because /etc/networks doesn't accept IPv6 network addresses.

The only workaround is to share to everyone, or individual named hosts (using DNS or /etc/hosts), which is particularly annoying in the face of IPv6 address autoconfig.

The fix is that share_nfs should accept the following notation: 

<pre># share_nfs -orw='[2a01:348:56::]/64' /some/fs</pre>

The [] notation is the standard way to "escape" IPv6 addresses in situations like this.


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account



More information about the bugs mailing list