fix(profile): integration fix.
This commit is contained in:
parent
291713d902
commit
7684de3459
4 changed files with 9 additions and 0 deletions
|
|
@ -40,6 +40,8 @@ profile netplan.script @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/base>
|
include <abstractions/base>
|
||||||
include <abstractions/app/systemctl>
|
include <abstractions/app/systemctl>
|
||||||
|
|
||||||
|
capability net_admin,
|
||||||
|
|
||||||
include if exists <local/netplan.script_systemctl>
|
include if exists <local/netplan.script_systemctl>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@ profile snap @{exec_path} flags=(attach_disconnected) {
|
||||||
|
|
||||||
#aa:dbus talk bus=session name=io.snapcraft.PrivilegedDesktopLauncher label=snap.snap-store.snap-store
|
#aa:dbus talk bus=session name=io.snapcraft.PrivilegedDesktopLauncher label=snap.snap-store.snap-store
|
||||||
#aa:dbus talk bus=session name=org.freedesktop.systemd1 label="@{p_systemd_user}"
|
#aa:dbus talk bus=session name=org.freedesktop.systemd1 label="@{p_systemd_user}"
|
||||||
|
#aa:dbus talk bus=system name=org.freedesktop.systemd1 label="@{p_systemd}"
|
||||||
|
|
||||||
dbus send bus=session path=/org/freedesktop/portal/documents
|
dbus send bus=session path=/org/freedesktop/portal/documents
|
||||||
interface=org.freedesktop.portal.Documents
|
interface=org.freedesktop.portal.Documents
|
||||||
|
|
|
||||||
|
|
@ -187,6 +187,8 @@ profile snapd @{exec_path} {
|
||||||
capability net_admin,
|
capability net_admin,
|
||||||
capability sys_resource,
|
capability sys_resource,
|
||||||
|
|
||||||
|
network netlink raw,
|
||||||
|
|
||||||
/etc/systemd/system/{,**/} r,
|
/etc/systemd/system/{,**/} r,
|
||||||
/etc/systemd/system/snap* rw,
|
/etc/systemd/system/snap* rw,
|
||||||
/etc/systemd/user/{,**/} rw,
|
/etc/systemd/user/{,**/} rw,
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,10 @@ profile hostnamectl @{exec_path} {
|
||||||
capability net_admin,
|
capability net_admin,
|
||||||
|
|
||||||
#aa:dbus talk bus=system name=org.freedesktop.hostname1 label=systemd-hostnamed
|
#aa:dbus talk bus=system name=org.freedesktop.hostname1 label=systemd-hostnamed
|
||||||
|
dbus send bus=system path=/org/freedesktop/hostname1
|
||||||
|
interface=org.freedesktop.DBus.Properties
|
||||||
|
member=GetAll
|
||||||
|
peer=(name=org.freedesktop.hostname1),
|
||||||
|
|
||||||
@{exec_path} mr,
|
@{exec_path} mr,
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue