Description of problem:
Starting and stopping rootless containers with cni networks connected at the same time is not race safe.
Version-Release number of selected component (if applicable):
v3.2.2
How reproducible:
Sometimes (depending on the system because it is a race condition)
Steps to Reproduce:
Concurrently start and stop some containers with cni networks as rootless.
Actual results:
It fails sometimes, after the first error all other podman start and stop commands will fail as well. The user has to clean XDG_RUNTIME_DIR in order to get it back working (e.g. systemd session logout or reboot)
Expected results:
Podman should be safe to use concurrently.
Additional info:
Upstream issues: https://github.com/containers/podman/issues/10930, https://github.com/containers/podman/issues/10922
Upstream PR to fix main branch: https://github.com/containers/podman/pull/10939
The upstream fix should be backported to v3.2.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: container-tools:rhel8 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2021:4154