share_nfs cannot share to IPv6 subnets
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.:
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:
# share_nfs -orw='[2a01:348:56::]/64' /some/fs
The  notation is the standard way to "escape" IPv6 addresses in situations like this.
Updated by Yuri Pankov about 10 years ago
- Assignee changed from Vitaliy Gusev to Yuri Pankov
Hi River, could you please try the following patch if you are still interested in this?