X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Ffunctions.sh;h=46bb6f6fa9340635d70667556bed8b99cc476923;hb=9cca6edc89d02bb8820c4cb1b65707c38dab8758;hp=ddcb7e0413e42b918c6f1506167be4e364735323;hpb=76df4be0475a22d848755eda27ce23845df70279;p=carnet-upgrade.git diff --git a/src/functions.sh b/src/functions.sh index ddcb7e0..46bb6f6 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -650,7 +650,10 @@ upgrade_amavis () { # fix openldap-aai postinst user handling upgrade_openldap () { - #pkgrm openldap-cn # deprecated + # slapd postinst fails if this is false + echo 'slapd slapd/move_old_database boolean true' | debconf-set-selections + + # workaround for race condition in openldap-aai postinst apt-get -y$s install openldap-aai || true # postinst fails chown -R openldap:openldap /var/lib/ldap # fix slapd /etc/init.d/slapd restart