bt-layer: layer tarballs drop sparseness and POSIX ACLs #19
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Keel-Linux/buildtasks#19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
layer_tar_flagspacks layers without--sparseand without--acls, and its--xattrs-includekeeps onlytrusted.overlay.*andsecurity.capability. As a result:system.posix_acl_access,system.posix_acl_default) and every other xattr are dropped, so a file that relies on an ACL loses it in the image.Both predate the delta-layer fix in #18; the review of that PR found them. Nothing shipped today is known to depend on either, but there is no check for it. Fixing this means choosing the flags, keeping the tarball byte-reproducible, and adding a test with a sparse file and an ACL'd file in a layer.