Make users_extra and seusers.final into config no replace so semanage users and semanage login files do not get overwritten
This commit is contained in:
parent
111d5a5817
commit
39eb9ea8c1
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user