forked from jengelh/sssd
Clear caches; rcsssd
OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=122
This commit is contained in:
parent
ca8df2f4bb
commit
992327eeeb
@ -25,6 +25,10 @@ Sun Aug 10 12:20:50 UTC 2014 - jengelh@inai.de
|
||||
over the system bus.
|
||||
- Remove 0001-BUILD-Link-libsss_ldap_common.so-to-libsss_idmap.so.patch
|
||||
(merged upstream)
|
||||
- Provide "rcsssd" in systemd environments
|
||||
- Ensure sssd is always startable by removing /var/lib/sss/db/*.ldb
|
||||
on package installation so as to avoid potentially cache
|
||||
format incompatibility which would cause sssd to exit
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 12 14:18:30 UTC 2014 - ckornacker@suse.com
|
||||
|
@ -367,6 +367,7 @@ install -d "$b/%_unitdir";
|
||||
#install src/sysv/systemd/sssd.service "$b/%_unitdir/sssd.service";
|
||||
install -m644 %{S:4} "$b/%_unitdir/sssd.service";
|
||||
rm -Rf "$b/%_initddir"
|
||||
ln -s service "$b/%_sbindir/rcsssd"
|
||||
%else
|
||||
install src/sysv/SUSE/sssd "$b/%_sysconfdir/init.d/sssd";
|
||||
ln -sf ../../etc/init.d/sssd "$b/usr/sbin/rcsssd"
|
||||
@ -392,11 +393,12 @@ rm -Rf "$b/%_sysconfdir/dbus-1" "$b/%_datadir/dbus-1"
|
||||
%post
|
||||
# migrate config variable krb5_kdcip to krb5_server (bnc#851048)
|
||||
/bin/sed -i -e 's,^krb5_kdcip =,krb5_server =,g' %_sysconfdir/sssd/sssd.conf
|
||||
|
||||
/sbin/ldconfig
|
||||
%if 0%{?_unitdir:1}
|
||||
%service_add_post sssd.service
|
||||
%endif
|
||||
# Clear caches, which may have an incompatible format after (especially) downgrade
|
||||
rm -f /var/lib/sss/db/*.ldb
|
||||
|
||||
%if 0%{?_unitdir:1}
|
||||
%preun
|
||||
@ -428,10 +430,10 @@ fi;
|
||||
%_unitdir
|
||||
%else
|
||||
%_initrddir/%name
|
||||
%_sbindir/rcsssd
|
||||
%endif
|
||||
%_bindir/sss_ssh_*
|
||||
%_sbindir/sssd
|
||||
%_sbindir/rcsssd
|
||||
%dir %_mandir/??/
|
||||
%dir %_mandir/??/man?/
|
||||
%_mandir/??/man1/sss_ssh_*
|
||||
|
Loading…
Reference in New Issue
Block a user