Hello,
I am running into an issue with sharing ZFS snapshots over AFP. It looks like it has been around a while. It is documented here on the FreeNAS bug tracker.
Basically, revealing the .zfs folder in an AFP share spams the logs with:
afpd[22353]: solaris_acl_rights(obj, path, st, ma, NULL) failed: Function not implemented
and
afpd[22353]: get_nfsv4_acl("/path/to/share/.zfs/."): Function not implemented
Everything functions fine, it's just that the log gets hit every few seconds with this message, so if there's a way to suppress it, that would be fine with me. In the FreeNAS ticket, one guys says he tried to suppress the message but got in over his head.
The FreeNAS solution is to not use AFP to share snapshots at all, and use NFS instead, but I think that is a clumsy solution and I was hoping that you guys had a better one. I would like to have a soft link to the snapshots in the same AFP share if possible (ex: ln -s ./.zfs/snapshot /path/to/share/Snapshots).
For the former log, this is encapsulated in a HAVE_NFSV4_ACLS check so if you don't actually need ACL support you can suppress this one by configuring netatalk with "--with-acls=no", build and install.
For the latter log, as far as I can tell from the code, it is a debug level log, so it should be muted if you set log level to "info" in afp.conf, for instance.
BTW the FreeNAS bug tracker is long gone, but the bug ticket is archived at https://web.archive.org/web/20150928131655/https://bugs.freenas.org/issues/8693