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 2A63D158020 for ; Tue, 13 Dec 2022 20:55:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AE903E091A; Tue, 13 Dec 2022 20:55:14 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 958F7E090F for ; Tue, 13 Dec 2022 20:55:14 +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 CCF14340ED1 for ; Tue, 13 Dec 2022 20:55:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 372967D3 for ; Tue, 13 Dec 2022 20:55:11 +0000 (UTC) From: "Kenton Groombridge" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kenton Groombridge" Message-ID: <1670958459.0e83470473b17ec633fe876ed2a99a9f1575e0a4.concord@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: concord X-VCS-Committer-Name: Kenton Groombridge X-VCS-Revision: 0e83470473b17ec633fe876ed2a99a9f1575e0a4 X-VCS-Branch: master Date: Tue, 13 Dec 2022 20:55:11 +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: cd48f0fe-1c49-4b6e-ae96-4781fce7f152 X-Archives-Hash: 2ec2787e53a71d7f9eea1562cf8a9bc4 commit: 0e83470473b17ec633fe876ed2a99a9f1575e0a4 Author: Kenton Groombridge concord sh> AuthorDate: Wed Dec 7 15:45:43 2022 +0000 Commit: Kenton Groombridge gentoo org> CommitDate: Tue Dec 13 19:07:39 2022 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=0e834704 podman: allow podman to stop systemd transient units Signed-off-by: Kenton Groombridge concord.sh> Signed-off-by: Kenton Groombridge gentoo.org> policy/modules/services/podman.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/policy/modules/services/podman.te b/policy/modules/services/podman.te index 5cc13da70..3d16e64d1 100644 --- a/policy/modules/services/podman.te +++ b/policy/modules/services/podman.te @@ -69,6 +69,7 @@ ifdef(`init_systemd',` # containers get created as systemd transient units init_get_transient_units_status(podman_t) init_start_transient_units(podman_t) + init_stop_transient_units(podman_t) # podman can read logs from containers which are # sent to the system journal @@ -212,6 +213,7 @@ container_manage_engine_tmp_sock_files(podman_conmon_t) ifdef(`init_systemd',` init_get_transient_units_status(podman_conmon_t) init_start_transient_units(podman_conmon_t) + init_stop_transient_units(podman_conmon_t) init_start_system(podman_conmon_t) init_stop_system(podman_conmon_t) ')