From 9e91a2824badc238377d651d8fbfd8df02ed293d Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Fri, 20 Oct 2017 16:05:16 +0200 Subject: [PATCH] Ship file_contexts.homedirs in store Recent libsemanage-2.7-4.fc28 keeps copy of file_contexts.homedirs in policy store in order to support listing homedirs file contexts in semanage fcontext -l --- selinux-policy.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/selinux-policy.spec b/selinux-policy.spec index 93460779..d56d0e78 100644 --- a/selinux-policy.spec +++ b/selinux-policy.spec @@ -269,6 +269,7 @@ rm -f %{buildroot}%{_sharedstatedir}/selinux/%1/active/*.linked \ %ghost %{_sharedstatedir}/selinux/%1/active/seusers.linked \ %ghost %{_sharedstatedir}/selinux/%1/active/users_extra.linked \ %{_datadir}/selinux/%1 \ +%verify(not md5 size mtime) %{_sharedstatedir}/selinux/%1/active/file_contexts.homedirs \ #%{_libexecdir}/selinux/selinux-factory-reset \ #%{_unitdir}/selinux-factory-reset@.service \ #%{_unitdir}/basic.target.wants/selinux-factory-reset@%1.service \