Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Mar 2025 21:35:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 162860] [zfs] Cannot share ZFS filesystem to hosts with a hyphen in hostname
Message-ID:  <bug-162860-227-97J6yAOoBs@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-162860-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=162860

mark@valentine.me.uk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark@valentine.me.uk

--- Comment #4 from mark@valentine.me.uk ---
I just hit this old bug too.

As a hack workaround, you can script edit /etc/zfs/exports to fix up any known
munged hyphens and send SIGHUP to mountd.

I'm guessing you'd have to hack /etc/rc.d/zfs to re-apply the edit in
zfs_start_main() too, since zfs share will keep generating a bogus exports
file.

I'm sticking with sharenfs=on for now since it's just my home network...

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-162860-227-97J6yAOoBs>