diff --git a/apparmor.d/groups/network/mullvad-daemon b/apparmor.d/groups/network/mullvad-daemon index 527d924d..b6581c73 100644 --- a/apparmor.d/groups/network/mullvad-daemon +++ b/apparmor.d/groups/network/mullvad-daemon @@ -47,9 +47,8 @@ profile mullvad-daemon @{exec_path} flags=(attach_disconnected) { /var/cache/mullvad-vpn/{,*} rw, /var/log/mullvad-vpn/{,*} rw, - owner /var/log/private/mullvad-vpn/daemon.log rw, - owner /var/log/private/mullvad-vpn/daemon.old.log w, - + owner /var/log/private/mullvad-vpn/*.log rw, + @{run}/mullvad-vpn rw, @{run}/NetworkManager/resolv.conf r, @@ -62,6 +61,7 @@ profile mullvad-daemon @{exec_path} flags=(attach_disconnected) { owner /tmp/talpid-openvpn-@{uuid} rw, owner @{PROC}/@{pid}/mounts r, + owner @{PROC}/sys/net/ipv6/conf/all/disable_ipv6 r, @{PROC}/sys/net/ipv{4,6}/conf/all/src_valid_mark rw, /dev/net/tun rw,