public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH] fedora: Add container-selinux as dependency for passt-selinux
@ 2025-06-10 15:11 Stefano Brivio
  0 siblings, 0 replies; only message in thread
From: Stefano Brivio @ 2025-06-10 15:11 UTC (permalink / raw)
  To: passt-dev; +Cc: Max Chernoff

Commit 7aeda16a7818 ("selinux: Transition to pasta_t in containers")
introduces usage of container_user_r, container_runtime_t, and
container_t, which are provided by the container-selinux package.

Link: https://bodhi.fedoraproject.org/updates/FEDORA-2025-f454466bb6
Link: https://bugzilla.redhat.com/show_bug.cgi?id=2371159
Fixes: 7aeda16a7818 ("selinux: Transition to pasta_t in containers")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
---
 contrib/fedora/passt.spec | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/contrib/fedora/passt.spec b/contrib/fedora/passt.spec
index e7feaf8..e52f50f 100644
--- a/contrib/fedora/passt.spec
+++ b/contrib/fedora/passt.spec
@@ -38,7 +38,9 @@ requiring any capabilities or privileges.
 BuildArch:		noarch
 Summary:		SELinux support for passt and pasta
 Requires:		selinux-policy-%{selinuxtype}
+Requires:		container-selinux
 Requires(post):		selinux-policy-%{selinuxtype}
+Requires(post):		container-selinux
 Requires(post):		policycoreutils
 Requires(post):		libselinux-utils
 Requires(preun):	policycoreutils
-- 
@@ -38,7 +38,9 @@ requiring any capabilities or privileges.
 BuildArch:		noarch
 Summary:		SELinux support for passt and pasta
 Requires:		selinux-policy-%{selinuxtype}
+Requires:		container-selinux
 Requires(post):		selinux-policy-%{selinuxtype}
+Requires(post):		container-selinux
 Requires(post):		policycoreutils
 Requires(post):		libselinux-utils
 Requires(preun):	policycoreutils
-- 
2.43.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-06-10 15:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-10 15:11 [PATCH] fedora: Add container-selinux as dependency for passt-selinux Stefano Brivio

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).