add selinux-autorelabel-mark.service to systemd_preun and systemd_post
This commit is contained in:
parent
11570859ee
commit
216ed1f180
@ -3,7 +3,7 @@
|
||||
|
||||
Name: policycoreutils
|
||||
Version: 3.1
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: Policy core utilities of selinux
|
||||
License: GPLv2
|
||||
URL: https://github.com/SELinuxProject
|
||||
@ -166,10 +166,10 @@ find %{buildroot}%{python3_sitelib} %{buildroot}%{python3_sitearch} \
|
||||
%find_lang policycoreutils
|
||||
|
||||
%post
|
||||
%systemd_post restorecond.service
|
||||
%systemd_post selinux-autorelabel-mark.service restorecond.service
|
||||
|
||||
%preun
|
||||
%systemd_preun restorecond.service
|
||||
%systemd_preun selinux-autorelabel-mark.service restorecond.service
|
||||
|
||||
%postun
|
||||
%systemd_postun_with_restart restorecond.service
|
||||
@ -261,6 +261,9 @@ find %{buildroot}%{python3_sitelib} %{buildroot}%{python3_sitearch} \
|
||||
%{_mandir}/*
|
||||
|
||||
%changelog
|
||||
* Mon Nov 2 2020 yixiangzhike <zhangxingliang3@huawei.com> - 3.1-3
|
||||
- add selinux-autorelabel-mark.service to systemd_preun and systemd_post
|
||||
|
||||
* Thu Oct 29 2020 Hugel <gengqihu1@huawei.com> - 3.1-2
|
||||
- remove the dependency on python2
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user