fix(profile): apply fixes raised by tests
This commit is contained in:
parent
18212c9ff7
commit
5a08ffc9ba
9 changed files with 29 additions and 6 deletions
|
|
@ -12,14 +12,19 @@ profile xdg-user-dirs-gtk-update @{exec_path} {
|
|||
include <abstractions/bus-accessibility>
|
||||
include <abstractions/bus-session>
|
||||
include <abstractions/bus/org.gtk.vfs.MountTracker>
|
||||
include <abstractions/gtk>
|
||||
include <abstractions/dconf-write>
|
||||
include <abstractions/desktop>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{bin}/xdg-user-dirs-update Px,
|
||||
|
||||
owner @{user_config_dirs}/gtk-3.0/bookmarks* rw,
|
||||
owner @{user_config_dirs}/user-dirs.dirs r,
|
||||
owner @{user_config_dirs}/user-dirs.locale r,
|
||||
|
||||
owner @{tmp}/dirs-@{rand6} rw,
|
||||
|
||||
include if exists <local/xdg-user-dirs-gtk-update>
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ profile systemd-machine-id-setup @{exec_path} flags=(attach_disconnected) {
|
|||
/etc/machine-id rw,
|
||||
/var/ r,
|
||||
|
||||
@{PROC}/@{pid}/fdinfo/@{int} r,
|
||||
@{PROC}/1/environ r,
|
||||
@{PROC}/cmdline r,
|
||||
@{PROC}/sys/kernel/osrelease r,
|
||||
|
|
|
|||
|
|
@ -85,7 +85,6 @@ profile update-notifier @{exec_path} {
|
|||
profile systemctl {
|
||||
include <abstractions/base>
|
||||
include <abstractions/app/systemctl>
|
||||
include <abstractions/bus-system>
|
||||
|
||||
dbus send bus=system path=/org/freedesktop/systemd1
|
||||
interface=org.freedesktop.systemd1.Manager
|
||||
|
|
|
|||
|
|
@ -9,17 +9,28 @@ include <tunables/global>
|
|||
@{exec_path} = @{lib}/update-notifier/update-notifier-crash
|
||||
profile update-notifier-crash @{exec_path} {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
@{bin}/systemctl Cx -> systemctl,
|
||||
|
||||
@{bin}/{,e}grep ix,
|
||||
@{bin}/groups Px,
|
||||
@{bin}/systemctl Cx -> systemctl,
|
||||
@{bin}/which{,.debianutils} ix,
|
||||
@{sh_path} mr,
|
||||
/usr/share/apport/apport-checkreports Px,
|
||||
|
||||
owner @{HOME}/ r,
|
||||
|
||||
profile systemctl {
|
||||
include <abstractions/base>
|
||||
include <abstractions/app/systemctl>
|
||||
|
||||
dbus send bus=system path=/org/freedesktop/systemd1
|
||||
interface=org.freedesktop.systemd1.Manager
|
||||
member=GetUnitFileState
|
||||
peer=(name=org.freedesktop.systemd1, label="@{p_systemd}"),
|
||||
|
||||
include if exists <local/update-notifier-crash_systemctl>
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue