Playground for tests of workflow automation and containers repository structure
Go to file
Paul Holzinger 56c6a9ac07 libnetwork: fix rexec env check for rootlessnetns
For some unknown reason the podman container image sets the
_CONTAINERS_USERNS_CONFIGURED env to an empty value. I don't know what
the purpose of this is but is will trigger the check here which is wrong
when the container is privileged.

To fix this check that the value is set to done like it is by the reexec
logic. Also make sure the lock dir uses the same condition to stay
consistent.

Fixes containers/podman#22791

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-05-27 15:18:43 +02:00
common libnetwork: fix rexec env check for rootlessnetns 2024-05-27 15:18:43 +02:00