Lix cannot build on store backed by ZFS datasets without acltype=posixacl #1105

Closed
opened 2026-01-23 16:57:55 +00:00 by raito · 2 comments
Owner

Since we merged the xattrs support, Lix cannot build anymore on store backed by ZFS datasets without acltype=posixacl.

This surfaces as:

building '/nix/store/4k10hrr912jib3w2hxdxdlcc3a8y068x-xattrs-under-directory-output.drv'...
setfacl: /nix/store/afqli2a47b29cc6lhz50yhhpnnzvcn79-xattrs-under-directory-output/test: Not supported
error: builder for '/nix/store/4k10hrr912jib3w2hxdxdlcc3a8y068x-xattrs-under-directory-output.drv' failed with exit code 1

We should probably improve the detection code for ACL/xattrs support.

Reported by @lheckemann

Since we merged the xattrs support, Lix cannot build anymore on store backed by ZFS datasets without acltype=posixacl. This surfaces as: ``` building '/nix/store/4k10hrr912jib3w2hxdxdlcc3a8y068x-xattrs-under-directory-output.drv'... setfacl: /nix/store/afqli2a47b29cc6lhz50yhhpnnzvcn79-xattrs-under-directory-output/test: Not supported error: builder for '/nix/store/4k10hrr912jib3w2hxdxdlcc3a8y068x-xattrs-under-directory-output.drv' failed with exit code 1 ``` We should probably improve the detection code for ACL/xattrs support. Reported by @lheckemann
raito added this to the 2.95 milestone 2026-01-23 16:58:14 +00:00
Author
Owner

@tom-hubrecht reports this is also broken on btrfs.

@tom-hubrecht reports this is also broken on btrfs.
Member

This issue was mentioned on Gerrit on the following CLs:

  • commit message in cl/5017 ("libstore/linux: forbid xattrs syscalls")
<!-- GERRIT_LINKBOT: {"cls": [{"backlink": "https://gerrit.lix.systems/c/lix/+/5017", "number": 5017, "kind": "commit message"}], "cl_meta": {"5017": {"change_title": "libstore/linux: forbid xattrs syscalls"}}} --> This issue was mentioned on Gerrit on the following CLs: * commit message in [cl/5017](https://gerrit.lix.systems/c/lix/+/5017) ("libstore/linux: forbid xattrs syscalls")
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lix-project/lix#1105
No description provided.