1
0
mirror of https://passt.top/passt synced 2024-07-02 07:52:41 +00:00
passt/contrib
Stefano Brivio 6d3e426d2f 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>
2023-09-06 20:39:12 +02:00
..
apparmor apparmor: Use abstractions/nameservice to deal with symlinked resolv.conf 2023-09-06 20:39:12 +02:00
fedora fedora: Install pasta as hard link to ensure SELinux file context match 2023-08-18 13:18:34 +02:00
kata-containers Don't abbreviate ip(8) arguments in examples and tests 2022-06-15 09:38:10 +02:00
selinux selinux: Fix domain transitions for typical commands pasta might run 2023-08-18 18:47:53 +02:00