From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E0BA815808B for ; Sat, 9 Apr 2022 19:28:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1F879E09BE; Sat, 9 Apr 2022 19:28:51 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DEF9CE09BE for ; Sat, 9 Apr 2022 19:28:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C696634179A for ; Sat, 9 Apr 2022 19:28:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5F31038D for ; Sat, 9 Apr 2022 19:28:47 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1649532510.9db82cfc59aa9ff8c525adf9f378d415177d91eb.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/services/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/services/podman.te X-VCS-Directories: policy/modules/services/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 9db82cfc59aa9ff8c525adf9f378d415177d91eb X-VCS-Branch: master Date: Sat, 9 Apr 2022 19:28:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2f064a61-b67e-4353-9a07-32d48fa76e62 X-Archives-Hash: af61ce31acca3f4129208785bb2efed0 commit: 9db82cfc59aa9ff8c525adf9f378d415177d91eb Author: Kenton Groombridge concord sh> AuthorDate: Thu Mar 31 18:18:55 2022 +0000 Commit: Jason Zaman gentoo org> CommitDate: Sat Apr 9 19:28:30 2022 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=9db82cfc podman: allow system podman to interact with container transient units Signed-off-by: Kenton Groombridge concord.sh> Signed-off-by: Jason Zaman gentoo.org> policy/modules/services/podman.te | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/policy/modules/services/podman.te b/policy/modules/services/podman.te index 5df45d32..316db505 100644 --- a/policy/modules/services/podman.te +++ b/policy/modules/services/podman.te @@ -66,6 +66,10 @@ ifdef(`init_systemd',` init_start_system(podman_t) init_stop_system(podman_t) + # containers get created as systemd transient units + init_get_transient_units_status(podman_t) + init_start_transient_units(podman_t) + # podman can read logs from containers which are # sent to the system journal logging_search_logs(podman_t)