New @{uuid} variable.

This commit is contained in:
Alexandre Pujol 2022-02-22 13:14:46 +00:00
parent 773741c85e
commit 0ee2e4f7ad
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
24 changed files with 47 additions and 44 deletions

View file

@ -25,7 +25,7 @@ profile nm-openvpn-service @{exec_path} {
/{usr/,}bin/kmod rPx,
@{run}/systemd/userdb/ r,
@{run}/NetworkManager/nm-openvpn-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]* rw,
@{run}/NetworkManager/nm-openvpn-@{uuid} rw,
/dev/net/tun rw,
/dev/tty rw,

View file

@ -62,7 +62,7 @@ profile openvpn @{exec_path} {
/var/log/openvpn/*.log w,
@{run}/openvpn/*.{pid,status} rw,
@{run}/NetworkManager/nm-openvpn-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]* rw,
@{run}/NetworkManager/nm-openvpn-@{uuid} rw,
/{usr/,}bin/ip rix,
/{usr/,}bin/systemd-ask-password rPx,