Skip to content
Snippets Groups Projects
Commit 39c6d7a3 authored by Philip Withnall's avatar Philip Withnall
Browse files

tests_: Allow integration.py to run systemctl


It needs to do this to start and stop various Rhosydd services. We allow
systemctl to run unconfined because it has no profile, and adding all
the profile rules for the various things it does would bloat the
integration.py profile. It’s only an integration test.

Reviewed-by: default avatarSimon McVittie <simon.mcvittie@collabora.co.uk>
Signed-off-by: default avatarPhilip Withnall <philip.withnall@collabora.co.uk>
Differential Revision: https://phabricator.apertis.org/D3505
parent 333f9f03
No related branches found
No related tags found
No related merge requests found
......@@ -22,4 +22,8 @@
# Talking to the Rhosydd daemon
dbus (send, receive) bus=system peer=(label=/usr/bin/rhosydd),
# Running systemctl to query process status;
# systemctl has no profile, so switch to unconfined
/bin/systemctl mrpux,
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment