add selinux-autorelabel-mark.service to systemd_preun and systemd_post
This commit is contained in:
parent
4f60e4d924
commit
68a6318f3e
@ -3,7 +3,7 @@
|
||||
|
||||
Name: policycoreutils
|
||||
Version: 3.1
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Policy core utilities of selinux
|
||||
License: GPLv2
|
||||
URL: https://github.com/SELinuxProject
|
||||
@ -192,10 +192,10 @@ find %{buildroot}%{python2_sitelib} %{buildroot}%{python3_sitelib} %{buildroot}%
|
||||
%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
|
||||
@ -303,6 +303,9 @@ find %{buildroot}%{python2_sitelib} %{buildroot}%{python3_sitelib} %{buildroot}%
|
||||
%{_mandir}/*
|
||||
|
||||
%changelog
|
||||
* Mon Nov 2 2020 yixiangzhike <zhangxingliang3@huawei.com> - 3.1-2
|
||||
- add selinux-autorelabel-mark.service to systemd_preun and systemd_post
|
||||
|
||||
* Fri Aug 28 2020 wangchen <wangchen137@huawei.com> - 3.1-1
|
||||
- update to 3.1
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user