diff options
author | Paul Holzinger <pholzing@redhat.com> | 2021-12-06 17:50:54 +0100 |
---|---|---|
committer | Paul Holzinger <pholzing@redhat.com> | 2021-12-06 18:34:14 +0100 |
commit | 3753347d62469902ef1667d9253574f2a7e5efef (patch) | |
tree | 038bbd37961042e1b233f4e91fbdd01a795f988f /docker | |
parent | 188f1989faa7de371558cb5466132edcfe62eda3 (diff) | |
download | podman-3753347d62469902ef1667d9253574f2a7e5efef.tar.gz podman-3753347d62469902ef1667d9253574f2a7e5efef.tar.bz2 podman-3753347d62469902ef1667d9253574f2a7e5efef.zip |
rootless netns: resolve all path components for resolv.conf
We need to follow all symlinks in the /etc/resolv.conf path. Currently
we would only check the last file but it is possible that any directory
before that is also a link.
Unfortunately this code is very hard to maintain and not well tested. I
will try to come up with a unit test when I have more time. I think we
could utilize some for of chroot for this. For now we are stucked with
the default setup in the fedora/ubunutu test VMs.
[NO NEW TESTS NEEDED]
Fixes #12461
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'docker')
0 files changed, 0 insertions, 0 deletions