Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2011 21:59:55 GMT
From:      Sascha Frey <sf@techfak.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/162860: Cannot share ZFS filesystem to hosts with a hyphen in hostname
Message-ID:  <201111242159.pAOLxtXt069111@red.freebsd.org>
Resent-Message-ID: <201111242200.pAOM0NpZ060224@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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     root@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111242159.pAOLxtXt069111>