[Samba] Debian Buster packages with vfs_zfsacl
movikun at gmail.com
Fri Jan 15 15:16:14 UTC 2021
> On 15 Jan 2021, at 16:11, Rowland penny via samba <samba at lists.samba.org> wrote:
> On 15/01/2021 14:54, Piotr Maksymiuk wrote:
>>> On 15 Jan 2021, at 10:41, Rowland penny via samba <samba at lists.samba.org> wrote:
>>> On 14/01/2021 22:53, Piotr Maksymiuk via samba wrote:
>>>> I've started using samba with OpenZFS on Debian, but it seems I need zfsacl to go along with fruit for it not to complain about not being able to write some ACL metadata. Would it be possible to include it somehow? I'm using zfs stuff from buster-backports. I've tried using vfs_acl_xattr and the errors went away, but then samba stops respecting the setuid ACL. I'm thinking zfsacl should fix that (maybe?)
>>> To be honest, I cannot recommend using ZFS with Samba, FreeBSD defaults to ZFS and they have multiple problems with Samba.
>> Could you elaborate? It was my experiments with TrueNAS (FBSD based) that led me to switch, and with ZOL 2.0 becoming the ZFS implementation on all OSes  and TrueNAS coming out with a Linux version  I can see user adoption rising. I know TrueNAS had a bunch of custom patches , but haven't tracked down what they do on SCALE yet. However I saw a glimpse of them promising to commit more stuff upstream in their issue tracked
>>  https://www.phoronix.com/scan.php?page=news_item&px=OpenZFS-2.0-Released
>>  https://www.truenas.com/community/threads/truenas-scale-release-plan.87266/
>>  https://github.com/freenas/ports/tree/freenas/master/net/samba/files
> I am not saying that you cannot use ZFS, I am saying that I wouldn't use it with Samba. There have been numerous problems reported from FreeBSD about ACL problems.
Fair enough, but that was before ZOL. Old OpenZFS (pre-ZOL) used NFSv4-style ACLs. Now the situation is reversed, ZOL uses posixacl (with everyone wanting ACLs using them), with nfsv4acl in the works.
More information about the samba