mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
Fix openvpn integration with network manager.
This commit is contained in:
parent
604a95119d
commit
a789d518b2
@ -22,11 +22,16 @@ profile NetworkManager @{exec_path} flags=(attach_disconnected) {
|
||||
network netlink raw,
|
||||
network packet dgram,
|
||||
|
||||
capability net_admin,
|
||||
capability net_raw,
|
||||
capability net_bind_service,
|
||||
capability dac_override,
|
||||
capability audit_write,
|
||||
capability dac_override,
|
||||
capability kill,
|
||||
capability net_admin,
|
||||
capability net_bind_service,
|
||||
capability net_raw,
|
||||
capability setgid,
|
||||
capability setuid,
|
||||
capability sys_chroot,
|
||||
capability sys_module,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@ -41,6 +46,8 @@ profile NetworkManager @{exec_path} flags=(attach_disconnected) {
|
||||
/{usr/,}bin/systemctl rPx -> child-systemctl,
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
|
||||
/dev/rfkill rw,
|
||||
|
||||
/ r,
|
||||
/etc/ r,
|
||||
/etc/resolv.conf rw,
|
||||
|
@ -11,7 +11,10 @@ profile nm-openvpn-service @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
signal peer=openvpn,
|
||||
capability kill,
|
||||
capability net_admin,
|
||||
|
||||
signal (send) set=(term) peer=openvpn,
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user