Setting xattrs: fsetxattr(security.selinux): Operation not supported #4648
Replies: 3 comments 4 replies
-
OK yes, basically you need to make Unfortunately today we require support for setting the We should definitely make this requirement much more obvious; e.g. verify that if selinux is enabled we can set xattrs in the cache root. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to build inside a container. Is this something you've managed to do? It seems like this limitation prevents it. |
Beta Was this translation helpful? Give feedback.
-
ok, I was able to get a build to work in podman. Neither overlayfs nor tmpfs supports xattrs. What worked was on regular fedora38:
Now, next hurdle: any chance we can make this work without --privileged? If I remove it I immediately get
|
Beta Was this translation helpful? Give feedback.
-
I am looking to assess the ability of our new container build system to build ostree native containers. To get a baseline, I am just trying to build a simple image on a laptop for now. I cloned https://pagure.io/workstation-ostree-config.git and I am trying to build fedora-base with the following command:
rpm-ostree compose image
--initialize-mode=if-not-exists
--format=registry
../workstation-ostree-config/fedora-base.yaml
quay.io/bcook/ostree:fedora-base-test
I tried it two ways: in toolbox as root, and in a privileged container as root. Both ways I received the following error:
Couldn't find much info that matched this. Hoping someone can give me a pointer. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions