diff options
author | Paul Holzinger <pholzing@redhat.com> | 2021-11-18 15:18:18 +0100 |
---|---|---|
committer | Paul Holzinger <pholzing@redhat.com> | 2021-11-18 17:34:06 +0100 |
commit | 62d6b6bf74e2d9be340ee2aaab02d7c54e42535e (patch) | |
tree | 030b3d6d0752e959aef567caa0c4b38eb0399e6d /pkg | |
parent | 9b964945d661d4f97b4a97f2f67d33f9dcd11e50 (diff) | |
download | podman-62d6b6bf74e2d9be340ee2aaab02d7c54e42535e.tar.gz podman-62d6b6bf74e2d9be340ee2aaab02d7c54e42535e.tar.bz2 podman-62d6b6bf74e2d9be340ee2aaab02d7c54e42535e.zip |
rootless netns, one netns per libpod tmp dir
The netns cleanup code is checking if there are running containers, this
can fail if you run several libpod instances with diffrent root/runroot.
To fix it we use one netns for each libpod instances. To prevent name
conflicts we use a hash from the static dir as part of the name.
Previously this worked because we would use the CNI files to check if
the netns was still in use. but this is no longer possible with netavark.
[NO NEW TESTS NEEDED]
Fixes #12306
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'pkg')
0 files changed, 0 insertions, 0 deletions