From 4b190446b9e7a36d43b37485c48da63032f895a8 Mon Sep 17 00:00:00 2001 From: Zdenek Pytela Date: Fri, 14 Jun 2024 19:54:13 +0200 Subject: [PATCH] Include "mode" in the %verify-not configuration for extra_varrun rpm-verify reports the following problem: .M....... g /var/lib/selinux/targeted/active/modules/400/extra_varrun .M....... g /var/lib/selinux/targeted/active/modules/400/extra_varrun/cil .M....... g /var/lib/selinux/targeted/active/modules/400/extra_varrun/lang_ext Related: RHEL-54303 --- selinux-policy.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/selinux-policy.spec b/selinux-policy.spec index 337ed2b8..a848eb0b 100644 --- a/selinux-policy.spec +++ b/selinux-policy.spec @@ -278,9 +278,9 @@ rm -f %{buildroot}%{_sharedstatedir}/selinux/%1/active/*.linked \ %ghost %{_sharedstatedir}/selinux/%1/active/users_extra.linked \ %verify(not md5 size mtime) %{_sharedstatedir}/selinux/%1/active/file_contexts.homedirs \ %verify(not md5 size mtime) %{_sharedstatedir}/selinux/%1/active/modules_checksum \ -%ghost %verify(not md5 size mtime) %{_sharedstatedir}/selinux/%1/active/modules/400/extra_varrun \ -%ghost %verify(not md5 size mtime) %{_sharedstatedir}/selinux/%1/active/modules/400/extra_varrun/cil \ -%ghost %verify(not md5 size mtime) %{_sharedstatedir}/selinux/%1/active/modules/400/extra_varrun/lang_ext \ +%ghost %verify(not mode md5 size mtime) %{_sharedstatedir}/selinux/%1/active/modules/400/extra_varrun \ +%ghost %verify(not mode md5 size mtime) %{_sharedstatedir}/selinux/%1/active/modules/400/extra_varrun/cil \ +%ghost %verify(not mode md5 size mtime) %{_sharedstatedir}/selinux/%1/active/modules/400/extra_varrun/lang_ext \ %nil %define relabel() \