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
---
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
--
2.43.0