forked from jengelh/sssd
Fix socket activation for responders
This commit is contained in:
parent
0b818bbcb7
commit
4c1a7e3419
@ -16,6 +16,7 @@ Tue Oct 15 12:59:51 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
|||||||
false to true for improved security.
|
false to true for improved security.
|
||||||
* https://github.com/SSSD/sssd/releases/tag/2.10.0
|
* https://github.com/SSSD/sssd/releases/tag/2.10.0
|
||||||
- Add 0001-sssd-always-print-path-when-config-object-is-rejecte.patch
|
- Add 0001-sssd-always-print-path-when-config-object-is-rejecte.patch
|
||||||
|
- Fix socket activation of responders
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 1 10:15:07 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
Tue Oct 1 10:15:07 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
@ -477,7 +477,7 @@ cp -a system-user-sssd.conf "$b/%_sysusersdir/"
|
|||||||
%make_build check || :
|
%make_build check || :
|
||||||
|
|
||||||
%pre -f random.pre
|
%pre -f random.pre
|
||||||
%service_add_pre sssd.service
|
%service_add_pre sssd.service sssd-autofs.service sssd-autofs.socket sssd-nss.service sssd-nss.socket sssd-pac.service sssd-pac.socket sssd-pam.service sssd-pam.socket sssd-ssh.service sssd-ssh.socket sssd-sudo.service sssd-sudo.socket
|
||||||
%if "%{?_distconfdir}" != ""
|
%if "%{?_distconfdir}" != ""
|
||||||
# Prepare for migration to /usr/etc; save any old .rpmsave
|
# Prepare for migration to /usr/etc; save any old .rpmsave
|
||||||
for i in sssd/sssd.conf pam.d/sssd-shadowutils logrotate.d/sssd ; do
|
for i in sssd/sssd.conf pam.d/sssd-shadowutils logrotate.d/sssd ; do
|
||||||
@ -491,13 +491,13 @@ done
|
|||||||
if [ -f "%_sysconfdir/sssd/sssd.conf" ]; then
|
if [ -f "%_sysconfdir/sssd/sssd.conf" ]; then
|
||||||
/bin/sed -i -e 's,^krb5_kdcip =,krb5_server =,g' "%_sysconfdir/sssd/sssd.conf"
|
/bin/sed -i -e 's,^krb5_kdcip =,krb5_server =,g' "%_sysconfdir/sssd/sssd.conf"
|
||||||
fi
|
fi
|
||||||
%service_add_post sssd.service
|
%service_add_post sssd.service sssd-autofs.service sssd-autofs.socket sssd-nss.service sssd-nss.socket sssd-pac.service sssd-pac.socket sssd-pam.service sssd-pam.socket sssd-ssh.service sssd-ssh.socket sssd-sudo.service sssd-sudo.socket
|
||||||
|
|
||||||
# install SSSD cifs-idmap plugin as an alternative
|
# install SSSD cifs-idmap plugin as an alternative
|
||||||
update-alternatives --install %cifs_idmap_plugin %cifs_idmap_name %cifs_idmap_lib %cifs_idmap_priority
|
update-alternatives --install %cifs_idmap_plugin %cifs_idmap_name %cifs_idmap_lib %cifs_idmap_priority
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%service_del_preun sssd.service
|
%service_del_preun sssd.service sssd-autofs.service sssd-autofs.socket sssd-nss.service sssd-nss.socket sssd-pac.service sssd-pac.socket sssd-pam.service sssd-pam.socket sssd-ssh.service sssd-ssh.socket sssd-sudo.service sssd-sudo.socket
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
@ -505,7 +505,7 @@ if [ "$1" = "0" ] && [ -x "%_sbindir/pam-config" ]; then
|
|||||||
"%_sbindir/pam-config" -d --sss || :
|
"%_sbindir/pam-config" -d --sss || :
|
||||||
fi
|
fi
|
||||||
# del_postun includes a try-restart
|
# del_postun includes a try-restart
|
||||||
%service_del_postun sssd.service
|
%service_del_postun sssd.service sssd-autofs.service sssd-autofs.socket sssd-nss.service sssd-nss.socket sssd-pac.service sssd-pac.socket sssd-pam.service sssd-pam.socket sssd-ssh.service sssd-ssh.socket sssd-sudo.service sssd-sudo.socket
|
||||||
|
|
||||||
if [ ! -f "%cifs_idmap_lib" ]; then
|
if [ ! -f "%cifs_idmap_lib" ]; then
|
||||||
update-alternatives --remove %cifs_idmap_name %cifs_idmap_lib
|
update-alternatives --remove %cifs_idmap_name %cifs_idmap_lib
|
||||||
|
Loading…
Reference in New Issue
Block a user