[selinux-policy: 1/2] Make users_extra and seusers.final into config no replace so semanage users and semanage login files

Daniel J Walsh dwalsh at fedoraproject.org
Tue Aug 23 17:55:02 UTC 2011


commit 39eb9ea8c1c22e4e9e9ae49bb46e87eb20dbc577
Author: Dan Walsh <dwalsh at redhat.com>
Date:   Tue Aug 23 13:54:16 2011 -0400

    Make users_extra and seusers.final into config no replace so semanage users and semanage login files do not get overwritten

 selinux-policy.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/selinux-policy.spec b/selinux-policy.spec
index 47fe4ef..b14dedf 100644
--- a/selinux-policy.spec
+++ b/selinux-policy.spec
@@ -141,9 +141,9 @@ rm -rf %{buildroot}%{_sysconfdir}/selinux/%1/contexts/netfilter_contexts
 %verify(not mtime) %{_sysconfdir}/selinux/%1/modules/active/file_contexts \
 %verify(not mtime) %{_sysconfdir}/selinux/%1/modules/active/file_contexts.homedirs \
 %verify(not mtime) %{_sysconfdir}/selinux/%1/modules/active/file_contexts.template \
-%verify(not mtime) %{_sysconfdir}/selinux/%1/modules/active/seusers.final \
+%config(noreplace) %verify(not mtime) %{_sysconfdir}/selinux/%1/modules/active/seusers.final \
 %verify(not mtime) %{_sysconfdir}/selinux/%1/modules/active/netfilter_contexts \
-%verify(not mtime) %{_sysconfdir}/selinux/%1/modules/active/users_extra \
+%config(noreplace) %verify(not mtime) %{_sysconfdir}/selinux/%1/modules/active/users_extra \
 %verify(not mtime) %{_sysconfdir}/selinux/%1/modules/active/homedir_template \
 %verify(not mtime) %{_sysconfdir}/selinux/%1/modules/active/modules/*.pp \
 %ghost %{_sysconfdir}/selinux/%1/modules/active/*.local \


More information about the scm-commits mailing list