!17 do not use systemd to restart services with RefuseManualStart=true
From: @zou_lin77 Reviewed-by: @zhujianwei001 Signed-off-by: @zhujianwei001
This commit is contained in:
commit
e961899090
19
sssd.spec
19
sssd.spec
@ -1,6 +1,6 @@
|
||||
Name: sssd
|
||||
Version: 2.2.2
|
||||
Release: 6
|
||||
Release: 7
|
||||
Summary: System Security Services Daemon
|
||||
License: GPLv3+ and LGPLv3+
|
||||
URL: https://pagure.io/SSSD/sssd/
|
||||
@ -541,23 +541,25 @@ fi
|
||||
|
||||
%postun
|
||||
%systemd_postun_with_restart sssd-autofs.socket
|
||||
%systemd_postun_with_restart sssd-autofs.service
|
||||
%systemd_postun_with_restart sssd-nss.socket
|
||||
%systemd_postun_with_restart sssd-nss.service
|
||||
%systemd_postun_with_restart sssd-pac.socket
|
||||
%systemd_postun_with_restart sssd-pac.service
|
||||
%systemd_postun_with_restart sssd-pam.socket
|
||||
%systemd_postun_with_restart sssd-pam-priv.socket
|
||||
%systemd_postun_with_restart sssd-pam.service
|
||||
%systemd_postun_with_restart sssd-ssh.socket
|
||||
%systemd_postun_with_restart sssd-ssh.service
|
||||
%systemd_postun_with_restart sssd-sudo.socket
|
||||
%systemd_postun_with_restart sssd-sudo.service
|
||||
%systemd_postun_with_restart sssd-kcm.socket
|
||||
%systemd_postun_with_restart sssd-kcm.service
|
||||
%systemd_postun_with_restart sssd-ifp.service
|
||||
/sbin/ldconfig
|
||||
|
||||
# Services have RefuseManualStart=true, therefore we can't request restart.
|
||||
%system_postun sssd-autofs.servece
|
||||
%system_postun sssd-nss.service
|
||||
%system_postun sssd-pac.service
|
||||
%system_postun sssd-pam.service
|
||||
%system_postun sssd-ssh.service
|
||||
%system_postun sssd-sudo.service
|
||||
|
||||
%posttrans
|
||||
%systemd_postun_with_restart sssd.service
|
||||
%{_sbindir}/update-alternatives \
|
||||
@ -577,6 +579,9 @@ fi
|
||||
%{_libdir}/%{name}/modules/libwbclient.so
|
||||
|
||||
%changelog
|
||||
* Sat May 29 2021 zoulin <zoulin13@huawei.com> - 2.2.2-7
|
||||
- do not use systemd to restart services with RefuseManualStart=true
|
||||
|
||||
* Sat Sep 19 2020 Liquor <lirui130@huawei.com> - 2.2.2-6
|
||||
- install default sssd.conf file
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user