update apparmor profiles
This commit is contained in:
parent
156f5d4e3b
commit
756e2071e1
55 changed files with 398 additions and 75 deletions
|
|
@ -29,7 +29,11 @@ profile openvpn @{exec_path} {
|
|||
include <abstractions/nameservice-strict>
|
||||
include <abstractions/openssl>
|
||||
|
||||
# Needed to remove the following errors:
|
||||
# ERROR: Cannot ioctl TUNSETIFF tun: Operation not permitted (errno=1)
|
||||
# Exiting due to fatal error
|
||||
capability net_admin,
|
||||
|
||||
# These are needed when user/group are set in a OpenVPN config file
|
||||
capability setuid,
|
||||
capability setgid,
|
||||
|
|
@ -75,6 +79,7 @@ profile openvpn @{exec_path} {
|
|||
include <abstractions/consoles>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
# To be able to manage firewall rules.
|
||||
capability net_admin,
|
||||
|
||||
/etc/openvpn/update-resolv-conf.sh r,
|
||||
|
|
@ -95,6 +100,7 @@ profile openvpn @{exec_path} {
|
|||
include <abstractions/consoles>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
# To be able to manage firewall rules.
|
||||
capability net_admin,
|
||||
|
||||
network netlink raw,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue