podman/contrib
Paul Holzinger 2c7c679584
Make rootless-cni setup more robust
The rootless cni namespace needs a valid /etc/resolv.conf file. On some
distros is a symlink to somewhere under /run. Because the kernel will
follow the symlink before mounting, it is not possible to mount a file
at exactly /etc/resolv.conf. We have to ensure that the link target will
be available in the rootless cni mount ns.

Fixes #10855

Also fixed a bug in the /var/lib/cni directory lookup logic. It used
`filepath.Base` instead of `filepath.Dir` and thus looping infinitely.

Fixes #10857

[NO TESTS NEEDED]

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2021-07-06 18:40:03 +02:00
..
cirrus Make rootless-cni setup more robust 2021-07-06 18:40:03 +02:00
fedora-minimal Cirrus: Fix fedora-minimal mirroring 2020-03-04 14:24:58 -05:00
msi Overhaul Makefile binary and release worflows 2021-04-12 10:21:28 -04:00
podmanimage Create user storage dir with correct permissions 2021-06-14 14:40:36 -05:00
remote Spelling 2020-12-22 13:34:31 -05:00
script Add script to determine dependency sizes 2018-03-23 14:12:14 +00:00
snapcraft Switch all references to github.com/containers/libpod -> podman 2020-07-28 08:23:45 -04:00
spec Makefile: remove install.cni 2021-06-28 14:52:23 -04:00
systemd Restart all containers with restart-policy=always on boot 2021-06-13 15:04:34 +03:00
tmpfile Add an entry for `/run/user-$UID/libpod` to tmpfiles 2021-06-18 16:32:24 -04:00
build_rpm.sh Remove varlink support from Podman 2020-11-26 16:50:42 -05:00
dependabot-dance codespell cleanup 2021-05-05 15:50:59 -04:00
dependencies.txt Remove varlink support from Podman 2020-11-26 16:50:42 -05:00