Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/services/
Date: Sat, 09 Apr 2022 19:28:53
Message-Id: 1649532510.9db82cfc59aa9ff8c525adf9f378d415177d91eb.perfinion@gentoo
1 commit: 9db82cfc59aa9ff8c525adf9f378d415177d91eb
2 Author: Kenton Groombridge <me <AT> concord <DOT> sh>
3 AuthorDate: Thu Mar 31 18:18:55 2022 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 9 19:28:30 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=9db82cfc
7
8 podman: allow system podman to interact with container transient units
9
10 Signed-off-by: Kenton Groombridge <me <AT> concord.sh>
11 Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>
12
13 policy/modules/services/podman.te | 4 ++++
14 1 file changed, 4 insertions(+)
15
16 diff --git a/policy/modules/services/podman.te b/policy/modules/services/podman.te
17 index 5df45d32..316db505 100644
18 --- a/policy/modules/services/podman.te
19 +++ b/policy/modules/services/podman.te
20 @@ -66,6 +66,10 @@ ifdef(`init_systemd',`
21 init_start_system(podman_t)
22 init_stop_system(podman_t)
23
24 + # containers get created as systemd transient units
25 + init_get_transient_units_status(podman_t)
26 + init_start_transient_units(podman_t)
27 +
28 # podman can read logs from containers which are
29 # sent to the system journal
30 logging_search_logs(podman_t)