From 92fdb3d7cb3612be425ec322a9f348a63ec67430 Mon Sep 17 00:00:00 2001 From: hamistao Date: Thu, 18 Apr 2024 10:31:06 -0300 Subject: [PATCH] lxd/storage/drivers/zfs: change `posixacl` to equivalent `posix` Using `posixacl` as an alias to `posix` (as can be seen here https://openzfs.github.io/openzfs-docs/man/master/7/zfsprops.7.html#acltype) leads to `filterRedundantOptions` not filtering out `acltype=posixacl` when comparing it to the current setting `posix`. Signed-off-by: hamistao --- lxd/storage/drivers/driver_zfs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxd/storage/drivers/driver_zfs.go b/lxd/storage/drivers/driver_zfs.go index c9b06be28e61..b48282f3cdcb 100644 --- a/lxd/storage/drivers/driver_zfs.go +++ b/lxd/storage/drivers/driver_zfs.go @@ -34,7 +34,7 @@ var zfsDefaultSettings = map[string]string{ "setuid": "on", "exec": "on", "devices": "on", - "acltype": "posixacl", + "acltype": "posix", // acltype "posix" is equivalent to "posixacl". Set as "posix" to avoid setting it multiple times on ensureInitialDatasets. "xattr": "sa", }