Open cgwalters opened 3 weeks ago
Here is a workaround required due to this at the moment. Since bazzite is using rechunk this can be removed, but it is used throughout Universal Blue images and derivatives. For other applications as well.
I was told this might be corrupting OSTree file hashes, and might be partially behind https://github.com/secureblue/secureblue/issues/369 which fails when setting xattrs. Or at least the variant used there, since the only 5 files that error during ostree fsck
in the secureboot family have had their caps modded.
Right now when we filter the tar stream we end up discarding xattrs - there's a bit of nontrivial work necessary on our side to handle this.
It also opens up the interesting question of whether we try to e.g. honor any
security.selinux
that may be present.It is clear that we definitely want
security.capability
, and for that matter we might as well propagate things likeuser.
.