Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
oci: ignore system.nfs4_acl and extend forbidden-xattr handling #252
It turns out that system.nfs4_acl is yet another xattr that we shouldn't
Thank you very much for the pull request, it is indeed much cleaner.
I've made a quick test on the Centos OCI image (from docker) and the NFS part is solved for me when extracting on shared FS with your configurable filter.
However, I've encountered another attribute (user.rootlesscontainers) in this same image. As a consequence, I still fail on lsetxattr as attributes are not supported on the target file-system (details below).
Here is how it failed and how I got there:
As my FS returns EOPNOTSUPP on such calls, I fail on extracting the image. In fact, it seems that exrtended attributes are not supported on NFS v4.
So (and to my knowledge) I see some ways here:
The later was my strategy here (besnardjb@612c1d2) although the implementation is clearly disputable
Thanks for your great work !
I remain available.