feat(profiles): make profile entrypoint more universal.
This commit is contained in:
parent
e031c129ed
commit
6e56cfccc9
70 changed files with 122 additions and 147 deletions
|
|
@ -92,13 +92,14 @@ profile NetworkManager @{exec_path} flags=(attach_disconnected) {
|
|||
/{usr/,}bin/dnsmasq rPx,
|
||||
/{usr/,}bin/resolvconf rPx,
|
||||
/{usr/,}bin/systemctl rPx -> child-systemctl,
|
||||
/{usr/,}lib/nm-dhcp-helper rPx,
|
||||
/{usr/,}lib/nm-dispatcher rPx,
|
||||
/{usr/,}lib/nm-iface-helper rPx,
|
||||
/{usr/,}lib/nm-initrd-generator rPx,
|
||||
/{usr/,}lib/nm-openvpn-auth-dialog rPx,
|
||||
/{usr/,}lib/nm-openvpn-service rPx,
|
||||
/{usr/,}lib/nm-openvpn-service-openvpn-helper rPx,
|
||||
@{libexec}/nm-dhcp-helper rPx,
|
||||
@{libexec}/nm-dispatcher rPx,
|
||||
@{libexec}/nm-iface-helper rPx,
|
||||
@{libexec}/nm-initrd-generator rPx,
|
||||
@{libexec}/nm-openvpn-auth-dialog rPx,
|
||||
@{libexec}/nm-openvpn-service rPx,
|
||||
@{libexec}/nm-openvpn-service-openvpn-helper rPx,
|
||||
@{libexec}/nm-daemon-helper rPx,
|
||||
|
||||
/usr/share/gvfs/remote-volume-monitors/{,*.monitor} r,
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/nm-dhcp-helper
|
||||
@{exec_path} = @{libexec}/nm-dhcp-helper
|
||||
profile nm-dhcp-helper @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/dbus>
|
||||
|
|
|
|||
|
|
@ -6,8 +6,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/nm-dispatcher
|
||||
@{exec_path} += /{usr/,}lib/NetworkManager/nm-dispatcher
|
||||
@{exec_path} = @{libexec}/{,NetworkManager/}nm-dispatcher
|
||||
profile nm-dispatcher @{exec_path} flags=(attach_disconnected) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/dbus-strict>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/nm-iface-helper
|
||||
@{exec_path} = @{libexec}/nm-iface-helper
|
||||
profile nm-iface-helper @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/nm-initrd-generator
|
||||
@{exec_path} = @{libexec}/nm-initrd-generator
|
||||
profile nm-initrd-generator @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/nm-openvpn-auth-dialog
|
||||
@{exec_path} = @{libexec}/nm-openvpn-auth-dialog
|
||||
profile nm-openvpn-auth-dialog @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/nm-openvpn-service
|
||||
@{exec_path} = @{libexec}/nm-openvpn-service
|
||||
profile nm-openvpn-service @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
|
@ -18,10 +18,10 @@ profile nm-openvpn-service @{exec_path} {
|
|||
|
||||
@{exec_path} mr,
|
||||
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
@{libexec}/nm-openvpn-auth-dialog rPx,
|
||||
@{libexec}/nm-openvpn-service-openvpn-helper rPx,
|
||||
/{usr/,}{s,}bin/openvpn rPx,
|
||||
/{usr/,}lib/nm-openvpn-auth-dialog rPx,
|
||||
/{usr/,}lib/nm-openvpn-service-openvpn-helper rPx,
|
||||
/{usr/,}bin/{,ba,da}sh rix,
|
||||
/{usr/,}bin/kmod rPx,
|
||||
|
||||
@{run}/NetworkManager/nm-openvpn-@{uuid} rw,
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ abi <abi/3.0>,
|
|||
|
||||
include <tunables/global>
|
||||
|
||||
@{exec_path} = /{usr/,}lib/nm-openvpn-service-openvpn-helper
|
||||
@{exec_path} = @{libexec}/nm-openvpn-service-openvpn-helper
|
||||
profile nm-openvpn-service-openvpn-helper @{exec_path} {
|
||||
include <abstractions/base>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue