-
Notifications
You must be signed in to change notification settings - Fork 169
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
strip all user.*
xattrs in upload-oscontainer
#2401
Comments
A discovery I made here is that in the major extensions rework done in #2028 we stopped writing these So the machine-os-content in the 4.8+ stream does not have this problem, but earlier versions i.e. ≤ 4.7 will. |
cgwalters
added a commit
to cgwalters/coreos-assembler
that referenced
this issue
Sep 2, 2021
xref BZ https://bugzilla.redhat.com/show_bug.cgi?id=2000195 librepo writes these xattrs, but unfortunately Linux `tmpfs` doesn't support `user.*` xattrs. And the OpenShift MCO falls back to doing `podman cp` in some cases, which fails when these xattrs are present. Since the xattrs are just cache data and not functional, just strip them out. Closes: coreos#2401
cgwalters
added a commit
to cgwalters/coreos-assembler
that referenced
this issue
Sep 2, 2021
xref BZ https://bugzilla.redhat.com/show_bug.cgi?id=2000195 librepo writes these xattrs, but unfortunately Linux `tmpfs` doesn't support `user.*` xattrs. And the OpenShift MCO falls back to doing `podman cp` in some cases, which fails when these xattrs are present. Since the xattrs are just cache data and not functional, just strip them out. Closes: coreos#2401
cgwalters
added a commit
that referenced
this issue
Sep 2, 2021
xref BZ https://bugzilla.redhat.com/show_bug.cgi?id=2000195 librepo writes these xattrs, but unfortunately Linux `tmpfs` doesn't support `user.*` xattrs. And the OpenShift MCO falls back to doing `podman cp` in some cases, which fails when these xattrs are present. Since the xattrs are just cache data and not functional, just strip them out. Closes: #2401
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
xref BZ https://bugzilla.redhat.com/show_bug.cgi?id=2000195
Seen in an OCP upgrade:
I this is something librepo writes as an optimization, but we should just strip it (and really all
user.*
xattrs) out because they don't work ontmpfs
.The text was updated successfully, but these errors were encountered: