Files
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
..
2021-02-22 09:03:51 +01:00
2017-11-01 11:24:59 -04:00
2020-05-11 13:11:07 +02:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-04-21 13:16:33 -04:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-06-25 09:56:21 +02:00
2021-02-22 09:03:51 +01:00
2021-06-10 15:29:24 +02:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-06-16 16:43:30 +02:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-06-25 09:56:21 +02:00
2021-02-22 09:03:51 +01:00
2021-06-23 09:23:40 -04:00
2021-03-08 09:22:42 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00
2021-02-22 09:03:51 +01:00