From 30977fe23ad5d7d10626f83a9163ad99862076fe Mon Sep 17 00:00:00 2001 From: Timothy Redaelli Date: Nov 16 2018 18:16:57 +0000 Subject: Add container-selinux to Requires container_var_run_t is defined inside container-selinux package so add the Requires Fixes: d262ad75e4e2 ("containers: allow container_t domain to access ovs sockets") Signed-off-by: Timothy Redaelli --- diff --git a/openvswitch-selinux-extra-policy.spec b/openvswitch-selinux-extra-policy.spec index db2b0d8..f6aa05e 100644 --- a/openvswitch-selinux-extra-policy.spec +++ b/openvswitch-selinux-extra-policy.spec @@ -28,6 +28,7 @@ BuildRequires: autoconf automake libtool BuildRequires: systemd-units openssl openssl-devel BuildRequires: checkpolicy selinux-policy-devel git pkgconfig(systemd) Requires: selinux-policy-targeted +Requires(pre): container-selinux Requires(post): selinux-policy >= %{selinux_policyver} Requires(post): libselinux-utils Requires(post): policycoreutils