From b2c0ead2dee9323224b1d2e6844912eaf100497f Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sun, 4 Apr 2021 00:35:41 +0100 Subject: [PATCH] nm: access to all net interfaces. --- apparmor.d/groups/network/NetworkManager | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apparmor.d/groups/network/NetworkManager b/apparmor.d/groups/network/NetworkManager index 9190f419..d6d31fb6 100644 --- a/apparmor.d/groups/network/NetworkManager +++ b/apparmor.d/groups/network/NetworkManager @@ -70,8 +70,7 @@ profile NetworkManager @{exec_path} flags=(attach_disconnected) { @{run}/udev/data/+pci* r, @{sys}/devices/**/uevent r, - @{sys}/devices/virtual/net/lo/{,*} r, - @{sys}/devices/virtual/net/tun0/{,**} r, + @{sys}/devices/virtual/net/{,*} r, @{sys}/devices/pci[0-9]*/**/net/*/{,**} r, @{sys}/devices/pci[0-9]*/**/usb[0-9]/**/net/{,**} r,