fix(test): various integration improvments.

This commit is contained in:
Alexandre Pujol 2025-04-05 21:43:55 +02:00
parent 8d71574e4d
commit d5e70ca994
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
3 changed files with 11 additions and 6 deletions

View file

@ -41,10 +41,14 @@ profile flatpak @{exec_path} flags=(attach_disconnected,mediate_deleted,complain
signal send peer=flatpak-app, signal send peer=flatpak-app,
#aa:dbus talk bus=session name=org.freedesktop.Flatpak.SessionHelper label=flatpak-session-helper #aa:dbus talk bus=session name=org.freedesktop.Flatpak.SessionHelper label=flatpak-session-helper
#aa:dbus talk bus=session name=org.freedesktop.portal.Documents path=/org/freedesktop/portal/documents label=xdg-document-portal
#aa:dbus talk bus=system name=org.freedesktop.Accounts label=accounts-daemon #aa:dbus talk bus=system name=org.freedesktop.Accounts label=accounts-daemon
#aa:dbus talk bus=system name=org.freedesktop.PolicyKit1 label=polkitd #aa:dbus talk bus=system name=org.freedesktop.PolicyKit1 label=polkitd
dbus send bus=session path=/org/freedesktop/portal/documents
interface=org.freedesktop.portal.Documents
member=GetMountPoint
peer=(name=org.freedesktop.portal.Documents, label="{xdg-document-portal,unconfined}"),
@{exec_path} mr, @{exec_path} mr,
@{bin}/bwrap rPx -> flatpak-app, @{bin}/bwrap rPx -> flatpak-app,

View file

@ -10,6 +10,7 @@ include <tunables/global>
profile package-data-downloader @{exec_path} { profile package-data-downloader @{exec_path} {
include <abstractions/base> include <abstractions/base>
include <abstractions/common/apt> include <abstractions/common/apt>
include <abstractions/consoles>
include <abstractions/nameservice-strict> include <abstractions/nameservice-strict>
include <abstractions/python> include <abstractions/python>

View file

@ -41,18 +41,18 @@ profile ucf @{exec_path} {
/usr/share/debconf/frontend rPx, # TODO: rCx -> debonc-frontend, /usr/share/debconf/frontend rPx, # TODO: rCx -> debonc-frontend,
# For md5sum
/usr/share/** r, /usr/share/** r,
/etc/default/* rw, # For writing new config files
/etc/libreoffice/registry/** r, /etc/** rw,
/etc/ucf.conf r,
/var/lib/ucf/** rw,
# For shell pwd # For shell pwd
/ r, / r,
/root/ r, /root/ r,
owner /var/lib/ucf/** rw,
owner /tmp/tmp.@{rand10} r, owner /tmp/tmp.@{rand10} r,
include if exists <local/ucf> include if exists <local/ucf>