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

please build oraclelinux:8 without /dev/initctl so it can be pulled to nfs/diskless clients #77

Open
sneely333 opened this issue May 22, 2024 · 0 comments

Comments

@sneely333
Copy link

NFS 4.2 along with a kernel > 5.9 allows for podman being able to pull images into a nfs mounted directory. This is due to the s
upport for extended attributes being added to nfs (https://datatracker.ietf.org/doc/rfc8276/)

Unfortunately support for getxattr, setxattr and listxattr was added but not support for lsetxattr (ie. setxattr -h). The oracle
linux:8 image contains the link /dev/initctl with extended attributes which comes from oraclelinux-8-amd64-rootfs.tar.xz. Althoug
h this link is removed when a container is run, because it is in the base image, we cannot use podman on nfs mounted home directo
ries as it fails to load the image.

If I download oraclelinux-8-amd64-rootfs.tar.xz from GitHub along with the Dockerfile, I can remove /dev/initctl from oraclelinux
-8-amd64-rootfs.tar.xz and rebuild the image locally it works great. Is there any way to get this change into the base image as
this file does not appear necessary?

Or please let me know if there is a better solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant