>Number:         162860
>Category:       misc
>Synopsis:       Cannot share ZFS filesystem to hosts with a hyphen in hostname
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 24 22:00:23 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Sascha Frey
>Release:        9.0-RC2
>Organization:
Bielefeld University, Faculty of Technology
>Environment:
FreeBSD nibbler.TechFak.Uni-Bielefeld.DE 9.0-RC2 FreeBSD 9.0-RC2 #0: Sat Nov 12 
18:35:25 UTC 2011     r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC 
 amd64
>Description:
Sharing a ZFS filesystem over NFS to hosts with a hyphen (-) in their hostnames 
using 'zfs set sharenfs' does not work.
'zfs get sharenfs'  does return the correct string as set before, but in 
/etc/zfs/exports the hyphen in the hostname was replaced with a blank.
>How-To-Repeat:
# zfs set sharenfs="-maproot=root foo-bar" systempool/export/test
# zfs get sharenfs systempool/export/test
NAME                                 PROPERTY  VALUE                    SOURCE
systempool/export/test     sharenfs  -maproot=root foo-bar  local
# cat /etc/zfs/exports
[...]
/export/test       -maproot=root foo bar
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to