[Bug 162860] [zfs] Cannot share ZFS filesystem to hosts with a hyphen in hostname

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 03 Mar 2025 21:35:09 UTC
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.