Open OneMoreByte opened 2 years ago
I also have similar issue under permissive mode.
I stumbled over this one too.
podman run -it \
registry.access.redhat.com/ubi8/ubi:8.4 bash -c 'ls -laZ /etc/resolv.conf'
Error: lsetxattr /run/user/1000/containers/overlay-containers/e25a662bd53a160ca620acf492f87d3efd50c48f97612d9eb6ce0ee2aba0bc4a/userdata/hosts: invalid argument
And I don't know if it is relevant, with root mode, the file label for /etc/hosts and /etcresolv.conf are broken too:
sudo podman run -it \
registry.access.redhat.com/ubi8/ubi:8.4 bash -c 'ls -laZ /etc/redhat-release /etc/resolv.conf /etc/hosts'
-rw-r--r--. 1 root root system_u:object_r:unlabeled_t 151 Jul 10 22:01 /etc/hosts
-rw-r--r--. 1 root root system_u:object_r:container_file_t 45 Mar 31 2021 /etc/redhat-release
-rw-r--r--. 1 root root system_u:object_r:unlabeled_t 23 Jul 10 22:01 /etc/resolv.conf
Using
5.1.1
6.9.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 05 Jul 2024 22:11:24 +0000 x86_64 GNU/Linux.
Not sure if it helps, but heres the inspect data:
On Fedora Live CD the same command succeed as expected and gives the correct file labels.
Hi
I've been struggling getting podman to run containers rootless.
When I try running containers as an unprivilaged user I get something like this:
Does anyone know off hand what I might need to change in the arch policy to get it working?