SHA256
1
0
forked from jengelh/sssd

- Take systemd units off the restart list that have RefuseManualStart=yes [boo#1206592]

OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=278
This commit is contained in:
Jan Engelhardt 2022-12-21 19:31:49 +00:00 committed by Git OBS Bridge
parent 6d0aba3501
commit ca22a8b38c
2 changed files with 19 additions and 14 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Dec 21 19:29:45 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Take systemd units off the restart list that have
RefuseManualStart=yes [boo#1206592]
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Dec 11 14:17:23 UTC 2022 - Jan Engelhardt <jengelh@inai.de> Sun Dec 11 14:17:23 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -20,7 +20,7 @@ Name: sssd
Version: 2.8.2 Version: 2.8.2
Release: 0 Release: 0
Summary: System Security Services Daemon Summary: System Security Services Daemon
License: GPL-3.0-or-later and LGPL-3.0-or-later License: GPL-3.0-or-later AND LGPL-3.0-or-later
Group: System/Daemons Group: System/Daemons
URL: https://github.com/SSSD/sssd URL: https://github.com/SSSD/sssd
#Git-Clone: https://github.com/SSSD/sssd #Git-Clone: https://github.com/SSSD/sssd
@ -40,6 +40,7 @@ BuildRequires: cyrus-sasl-devel
BuildRequires: docbook-xsl-stylesheets BuildRequires: docbook-xsl-stylesheets
BuildRequires: krb5-devel >= 1.12 BuildRequires: krb5-devel >= 1.12
BuildRequires: libcmocka-devel BuildRequires: libcmocka-devel
BuildRequires: libsubid-devel
BuildRequires: libtool BuildRequires: libtool
BuildRequires: libunistring-devel BuildRequires: libunistring-devel
BuildRequires: libxml2-tools BuildRequires: libxml2-tools
@ -66,6 +67,7 @@ BuildRequires: pkgconfig(libnfsidmap)
BuildRequires: pkgconfig(libnl-3.0) >= 3.0 BuildRequires: pkgconfig(libnl-3.0) >= 3.0
BuildRequires: pkgconfig(libnl-route-3.0) >= 3.0 BuildRequires: pkgconfig(libnl-route-3.0) >= 3.0
BuildRequires: pkgconfig(libpcre2-8) BuildRequires: pkgconfig(libpcre2-8)
BuildRequires: pkgconfig(libsemanage)
BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(ndr_krb5pac) BuildRequires: pkgconfig(ndr_krb5pac)
BuildRequires: pkgconfig(ndr_nbt) BuildRequires: pkgconfig(ndr_nbt)
@ -77,8 +79,6 @@ BuildRequires: pkgconfig(talloc)
BuildRequires: pkgconfig(tdb) >= 1.1.3 BuildRequires: pkgconfig(tdb) >= 1.1.3
BuildRequires: pkgconfig(tevent) BuildRequires: pkgconfig(tevent)
BuildRequires: pkgconfig(uuid) BuildRequires: pkgconfig(uuid)
BuildRequires: pkgconfig(libsemanage)
BuildRequires: libsubid-devel
%{?systemd_ordering} %{?systemd_ordering}
Requires: sssd-ldap = %version-%release Requires: sssd-ldap = %version-%release
Requires(postun):pam-config Requires(postun):pam-config
@ -199,7 +199,7 @@ and/or PAM modules to leverage SSSD caching.
%package tools %package tools
Summary: Commandline tools for sssd Summary: Commandline tools for sssd
License: GPL-3.0-or-later and LGPL-3.0-or-later License: GPL-3.0-or-later AND LGPL-3.0-or-later
Group: System/Management Group: System/Management
Requires: python3-sssd-config = %version Requires: python3-sssd-config = %version
Requires: sssd = %version Requires: sssd = %version
@ -356,7 +356,7 @@ libsss_nss_idmap can be used by Python applications.
%package -n python3-sssd-config %package -n python3-sssd-config
Summary: Python API for configuring sssd Summary: Python API for configuring sssd
License: GPL-3.0-or-later and LGPL-3.0-or-later License: GPL-3.0-or-later AND LGPL-3.0-or-later
Group: Development/Libraries/Python Group: Development/Libraries/Python
Requires: python3 Requires: python3
@ -426,20 +426,19 @@ ln -sfv %_sysconfdir/alternatives/%cifs_idmap_name %buildroot/%cifs_idmap_plugin
%make_build check || : %make_build check || :
%pre %pre
%global services sssd.service sssd-autofs.service sssd-autofs.socket sssd-nss.service sssd-nss.socket sssd-pac.service sssd-pac.socket sssd-pam-priv.socket sssd-pam.service sssd-pam.socket sssd-ssh.service sssd-ssh.socket sssd-sudo.service sssd-sudo.socket %service_add_pre sssd.service
%service_add_pre %services
%post %post
/sbin/ldconfig /sbin/ldconfig
# migrate config variable krb5_kdcip to krb5_server (bnc#851048) # migrate config variable krb5_kdcip to krb5_server (bnc#851048)
/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
%service_add_post %services %service_add_post sssd.service
# 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 %services %service_del_preun sssd.service
%postun %postun
/sbin/ldconfig /sbin/ldconfig
@ -447,7 +446,7 @@ if [ "$1" = "0" -a -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 %services %service_del_postun sssd.service
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