diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2023-09-06 20:39:12 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-09-06 20:39:12 +0200 |
commit | 6d3e426d2f8af68ea471ebfe4b3dc89e5c8ed62f (patch) | |
tree | fdc284913cb1c2d5b7197b6625483898b0e2ce4a /test/pasta_podman/bats | |
parent | a7e4bfb857cb5d0e111ab74b6ace47eea15d2078 (diff) | |
download | passt-6d3e426d2f8af68ea471ebfe4b3dc89e5c8ed62f.tar passt-6d3e426d2f8af68ea471ebfe4b3dc89e5c8ed62f.tar.gz passt-6d3e426d2f8af68ea471ebfe4b3dc89e5c8ed62f.tar.bz2 passt-6d3e426d2f8af68ea471ebfe4b3dc89e5c8ed62f.tar.lz passt-6d3e426d2f8af68ea471ebfe4b3dc89e5c8ed62f.tar.xz passt-6d3e426d2f8af68ea471ebfe4b3dc89e5c8ed62f.tar.zst passt-6d3e426d2f8af68ea471ebfe4b3dc89e5c8ed62f.zip |
apparmor: Use abstractions/nameservice to deal with symlinked resolv.conf
While abstractions/nameservice appeared too broad and overkill for
our simple need (read-only resolv.conf access), it properly deals
with symlinked resolv.conf files generated by systemd-resolved,
NetworkManager or suchlike.
If we just grant read-only access to /etc/resolv.conf, we'll fail to
read nameserver information in rather common configurations, because
AppArmor won't follow the symlink.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/pasta_podman/bats')
0 files changed, 0 insertions, 0 deletions