Fedora Account System
Red Hat Associate
Red Hat Customer
It's not possible to export or unexport to an IPv6 address or subnet, due to some hardcoded parsing rules in exportfs() and unexportfs(): # exportfs -u 2001:470:8:d63::/64:/scratch exportfs: Invalid unexporting option: 2001 # exportfs -u '[2001:470:8:d63::/64]:/scratch' exportfs: Invalid unexporting option: [2001 ...the reason for the failure is this chunk of code at the top of both functions: if ((path = strchr(arg, ':')) != NULL) *path++ = '\0'; if (!path || *path != '/') { xlog(L_ERROR, "Invalid unexporting option: %s", arg); return; } ...though I'm not exactly clear on how we should be parsing this. How do we tell the difference between the ":/path" and ":/netmask" ? Maybe we should require that the addr and netmask be inside square brackets?
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19
Looks like Chuck has done some patches for this, so I'll move this to a resolution of UPSTREAM. I assume they should make rawhide in the not too distant future.