Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: nydus-image create does not work when ACLs are set #1394

Closed
dhbaird opened this issue Aug 7, 2023 · 0 comments
Closed

Bug: nydus-image create does not work when ACLs are set #1394

dhbaird opened this issue Aug 7, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@dhbaird
Copy link
Contributor

dhbaird commented Aug 7, 2023

Additional Information

Version of nydus being used (nydusd --version)

nydus-image --version
# >>>
Version:   v2.2.2
Git Commit:     19d5b12bb0ca58d0474861416e91961169235114
Build Time:     2023-07-17T04:12:08.369576349Z
Profile:   release
Rustc:     rustc 1.66.1 (90743e729 2023-01-10)

Details about issue

To reproduce:

mkdir blobs
install -D /dev/null files/file_with_acl
setfacl -m user:root:rwx files/file_with_acl
xattr files/file_with_acl  # >>> system.posix_acl_access
nydus-image create -t dir-rafs -D blobs files
# >>>
# [2023-08-07 16:06:23.603097 -04:00] ERROR [/src/error.rs:22] Error:
#  "invalid xattr key"
#  at rafs/src/metadata/layout/mod.rs:268
#  note: enable `RUST_BACKTRACE=1` env to display a backtrace
# Error: build failed
#
# Caused by:
#     0: failed to create node "files/file_with_acl"
#     1: failed to build inode
#     2: Invalid argument (os error 22)
dhbaird added a commit to dhbaird/image-service that referenced this issue Aug 7, 2023
@imeoer imeoer added the bug Something isn't working label Aug 8, 2023
dhbaird added a commit to dhbaird/image-service that referenced this issue Aug 16, 2023
dhbaird added a commit to dhbaird/image-service that referenced this issue Aug 16, 2023
dhbaird added a commit to dhbaird/image-service that referenced this issue Aug 16, 2023
@imeoer imeoer closed this as completed in 156ba6a Aug 17, 2023
imeoer pushed a commit to imeoer/image-service that referenced this issue Aug 17, 2023
imeoer pushed a commit that referenced this issue Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants