fix(ci): ensure dbus session is confined during tests

This commit is contained in:
Alexandre Pujol 2025-04-05 19:19:56 +02:00
parent 9b8348181c
commit b532929f5d
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
2 changed files with 2 additions and 0 deletions

View file

@ -124,6 +124,7 @@ jobs:
for service in "${services[@]}"; do for service in "${services[@]}"; do
sudo systemctl restart "$service" || systemctl status "$service.service" || true sudo systemctl restart "$service" || systemctl status "$service.service" || true
done done
systemctl restart --user dbus || systemctl status --user "dbus.service" || true
sudo ps auxZ | grep -v '\[.*\]' sudo ps auxZ | grep -v '\[.*\]'
sudo aa-log -s --raw sudo aa-log -s --raw

View file

@ -41,6 +41,7 @@ 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