Bug#864719: marked as done (slapd: fails to configure when olcSuffix contains a backslash-escaped umlaut)
Your message dated Thu, 14 Jun 2018 19:17:38 + with message-id and subject line Bug#864719: fixed in openldap 2.4.40+dfsg-1+deb8u4 has caused the Debian Bug report #864719, regarding slapd: fails to configure when olcSuffix contains a backslash-escaped umlaut to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 864719: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864719 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: slapd Version: 2.4.31-2+deb7u3 Severity: serious Justification: fails to configure With recent security updates being available in Debian oldstable (soon to be oldoldstable, but hey!), the package fails to upgrade because it fails to configure if the olcSuffix contains a nōn-ASCII character (and a space, but I don’t think that is it). I will be filtering the name of our client as follows, believing that the problem will still appear. olcSuffix: o=Kundenname M\c3\bcumlaut,c=de No, I did not invent this… With “set -x” in slapd.postinst (and reverting the default /bin/sh to bash to be sure it’s not an mksh problem) I get: root@prodname-dollarcustomer:~ # dpkg -a --configure Setting up slapd (2.4.31-2+deb7u3) ... + . /usr/share/debconf/confmodule ++ '[' '!' '' ']' ++ PERL_DL_NONLAZY=1 ++ export PERL_DL_NONLAZY ++ '[' '' ']' ++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/slapd.postinst configure 2.4.31-2+deb7u3 + . /usr/share/debconf/confmodule ++ '[' '!' 1 ']' ++ '[' -z '' ']' ++ exec ++ '[' '' ']' ++ exec ++ DEBCONF_REDIR=1 ++ export DEBCONF_REDIR + MODE=configure + OLD_VERSION=2.4.31-2+deb7u3 + '[' -f /etc/default/slapd ']' + . /etc/default/slapd ++ SLAPD_CONF= ++ SLAPD_USER=openldap ++ SLAPD_GROUP=openldap ++ SLAPD_PIDFILE= ++ SLAPD_SERVICES='ldap:/// ldapi:///' ++ SLAPD_SENTINEL_FILE=/etc/ldap/noslapd ++ SLAPD_OPTIONS= + '[' -z '' ']' + '[' -f /etc/ldap/slapd.conf ']' + SLAPD_CONF=/etc/ldap/slapd.d + '[' configure = configure ']' + '[' openldap = openldap ']' + create_new_user ++ getent group openldap + '[' -z openldap:x:112: ']' ++ getent passwd openldap + '[' -z 'openldap:x:106:112:OpenLDAP Server Account,,,:/var/lib/ldap:/bin/false' ']' + is_initial_configuration configure 2.4.31-2+deb7u3 + '[' configure = configure ']' + '[' -z 2.4.31-2+deb7u3 ']' + '[' configure = reconfigure ']' + '[' '' ']' + '[' configure = configure ']' + '[' '!' -e /etc/ldap/slapd.d ']' + return 1 + postinst_upgrade_configuration ++ database_dumping_destdir ++ local dir ++ db_get slapd/dump_database_destdir ++ _db_cmd 'GET slapd/dump_database_destdir' ++ _db_internal_IFS=' ' ++ IFS=' ' ++ printf '%s\n' 'GET slapd/dump_database_destdir' ++ IFS=' ' ++ IFS=' ' ++ read -r _db_internal_line ++ RET=/var/backups/slapd-VERSION ++ case ${_db_internal_line%%[ ]*} in ++ return 0 +++ sed -e s/VERSION/2.4.31-2+deb7u3/ +++ echo /var/backups/slapd-VERSION ++ dir=/var/backups/slapd-2.4.31-2+deb7u3 ++ mkdir -p -m 700 /var/backups/slapd-2.4.31-2+deb7u3 ++ echo /var/backups/slapd-2.4.31-2+deb7u3 + echo -n ' Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.4.31-2+deb7u3... ' Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.4.31-2+deb7u3... + backup_config_once + local backupdir + '[' -z '' ']' ++ database_dumping_destdir ++ local dir ++ db_get slapd/dump_database_destdir ++ _db_cmd 'GET slapd/dump_database_destdir' ++ _db_internal_IFS=' ' ++ IFS=' ' ++ printf '%s\n' 'GET slapd/dump_database_destdir' ++ IFS=' ' ++ IFS=' ' ++ read -r _db_internal_line ++ RET=/var/backups/slapd-VERSION ++ case ${_db_internal_line%%[ ]*} in ++ return 0 +++ sed -e s/VERSION/2.4.31-2+deb7u3/ +++ echo /var/backups/slapd-VERSION ++ dir=/var/backups/slapd-2.4.31-2+deb7u3 ++ mkdir -p -m 700 /var/backups/slapd-2.4.31-2+deb7u3 ++ echo /var/backups/slapd-2.4.31-2+deb7u3 + backupdir=/var/backups/slapd-2.4.31-2+deb7u3 + '[' -e /etc/ldap/slapd.d ']' + cp -a /etc/ldap/slapd.d /var/backups/slapd-2.4.31-2+deb7u3 + FLAG_CONFIG_BACKED_UP=yes + echo done. done. + database_format_changed + dpkg --compare-versions 2.4.31-2+deb7u3 lt-nl 2.4.25-2 + return 1 + migrate_to_slapd_d_style + previous_version_older 2.4.23-3 + dpkg --compare-versions 2.4.31-2+deb7u3 lt-nl 2.4.23-3 + return 1 + previous_version_older 2.4.23-5 + dpkg --compare-versions 2.4.31-2+deb7u3 lt-nl 2.4.23-5 + return 1 + configure_v2_protocol_support + local new_conf + db_get slapd/allow_ldap_v2 + _db_cmd 'GET slapd/allow_ldap_v2' + _db_internal_IFS=' ' + IFS=' ' + printf '%s\n' 'GET slapd/allow_ldap_v2' + IFS=' ' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + '[' false '!=' true ']' + return 0
Bug#864719: marked as done (slapd: fails to configure when olcSuffix contains a backslash-escaped umlaut)
Your message dated Thu, 14 Jun 2018 19:17:09 + with message-id and subject line Bug#864719: fixed in openldap 2.4.44+dfsg-5+deb9u2 has caused the Debian Bug report #864719, regarding slapd: fails to configure when olcSuffix contains a backslash-escaped umlaut to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 864719: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864719 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: slapd Version: 2.4.31-2+deb7u3 Severity: serious Justification: fails to configure With recent security updates being available in Debian oldstable (soon to be oldoldstable, but hey!), the package fails to upgrade because it fails to configure if the olcSuffix contains a nōn-ASCII character (and a space, but I don’t think that is it). I will be filtering the name of our client as follows, believing that the problem will still appear. olcSuffix: o=Kundenname M\c3\bcumlaut,c=de No, I did not invent this… With “set -x” in slapd.postinst (and reverting the default /bin/sh to bash to be sure it’s not an mksh problem) I get: root@prodname-dollarcustomer:~ # dpkg -a --configure Setting up slapd (2.4.31-2+deb7u3) ... + . /usr/share/debconf/confmodule ++ '[' '!' '' ']' ++ PERL_DL_NONLAZY=1 ++ export PERL_DL_NONLAZY ++ '[' '' ']' ++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/slapd.postinst configure 2.4.31-2+deb7u3 + . /usr/share/debconf/confmodule ++ '[' '!' 1 ']' ++ '[' -z '' ']' ++ exec ++ '[' '' ']' ++ exec ++ DEBCONF_REDIR=1 ++ export DEBCONF_REDIR + MODE=configure + OLD_VERSION=2.4.31-2+deb7u3 + '[' -f /etc/default/slapd ']' + . /etc/default/slapd ++ SLAPD_CONF= ++ SLAPD_USER=openldap ++ SLAPD_GROUP=openldap ++ SLAPD_PIDFILE= ++ SLAPD_SERVICES='ldap:/// ldapi:///' ++ SLAPD_SENTINEL_FILE=/etc/ldap/noslapd ++ SLAPD_OPTIONS= + '[' -z '' ']' + '[' -f /etc/ldap/slapd.conf ']' + SLAPD_CONF=/etc/ldap/slapd.d + '[' configure = configure ']' + '[' openldap = openldap ']' + create_new_user ++ getent group openldap + '[' -z openldap:x:112: ']' ++ getent passwd openldap + '[' -z 'openldap:x:106:112:OpenLDAP Server Account,,,:/var/lib/ldap:/bin/false' ']' + is_initial_configuration configure 2.4.31-2+deb7u3 + '[' configure = configure ']' + '[' -z 2.4.31-2+deb7u3 ']' + '[' configure = reconfigure ']' + '[' '' ']' + '[' configure = configure ']' + '[' '!' -e /etc/ldap/slapd.d ']' + return 1 + postinst_upgrade_configuration ++ database_dumping_destdir ++ local dir ++ db_get slapd/dump_database_destdir ++ _db_cmd 'GET slapd/dump_database_destdir' ++ _db_internal_IFS=' ' ++ IFS=' ' ++ printf '%s\n' 'GET slapd/dump_database_destdir' ++ IFS=' ' ++ IFS=' ' ++ read -r _db_internal_line ++ RET=/var/backups/slapd-VERSION ++ case ${_db_internal_line%%[ ]*} in ++ return 0 +++ sed -e s/VERSION/2.4.31-2+deb7u3/ +++ echo /var/backups/slapd-VERSION ++ dir=/var/backups/slapd-2.4.31-2+deb7u3 ++ mkdir -p -m 700 /var/backups/slapd-2.4.31-2+deb7u3 ++ echo /var/backups/slapd-2.4.31-2+deb7u3 + echo -n ' Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.4.31-2+deb7u3... ' Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.4.31-2+deb7u3... + backup_config_once + local backupdir + '[' -z '' ']' ++ database_dumping_destdir ++ local dir ++ db_get slapd/dump_database_destdir ++ _db_cmd 'GET slapd/dump_database_destdir' ++ _db_internal_IFS=' ' ++ IFS=' ' ++ printf '%s\n' 'GET slapd/dump_database_destdir' ++ IFS=' ' ++ IFS=' ' ++ read -r _db_internal_line ++ RET=/var/backups/slapd-VERSION ++ case ${_db_internal_line%%[ ]*} in ++ return 0 +++ sed -e s/VERSION/2.4.31-2+deb7u3/ +++ echo /var/backups/slapd-VERSION ++ dir=/var/backups/slapd-2.4.31-2+deb7u3 ++ mkdir -p -m 700 /var/backups/slapd-2.4.31-2+deb7u3 ++ echo /var/backups/slapd-2.4.31-2+deb7u3 + backupdir=/var/backups/slapd-2.4.31-2+deb7u3 + '[' -e /etc/ldap/slapd.d ']' + cp -a /etc/ldap/slapd.d /var/backups/slapd-2.4.31-2+deb7u3 + FLAG_CONFIG_BACKED_UP=yes + echo done. done. + database_format_changed + dpkg --compare-versions 2.4.31-2+deb7u3 lt-nl 2.4.25-2 + return 1 + migrate_to_slapd_d_style + previous_version_older 2.4.23-3 + dpkg --compare-versions 2.4.31-2+deb7u3 lt-nl 2.4.23-3 + return 1 + previous_version_older 2.4.23-5 + dpkg --compare-versions 2.4.31-2+deb7u3 lt-nl 2.4.23-5 + return 1 + configure_v2_protocol_support + local new_conf + db_get slapd/allow_ldap_v2 + _db_cmd 'GET slapd/allow_ldap_v2' + _db_internal_IFS=' ' + IFS=' ' + printf '%s\n' 'GET slapd/allow_ldap_v2' + IFS=' ' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + '[' false '!=' true ']' + return 0
Bug#864719: marked as done (slapd: fails to configure when olcSuffix contains a backslash-escaped umlaut)
Your message dated Thu, 03 May 2018 15:39:46 + with message-id and subject line Bug#864719: fixed in openldap 2.4.46+dfsg-1 has caused the Debian Bug report #864719, regarding slapd: fails to configure when olcSuffix contains a backslash-escaped umlaut to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 864719: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864719 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: slapd Version: 2.4.31-2+deb7u3 Severity: serious Justification: fails to configure With recent security updates being available in Debian oldstable (soon to be oldoldstable, but hey!), the package fails to upgrade because it fails to configure if the olcSuffix contains a nōn-ASCII character (and a space, but I don’t think that is it). I will be filtering the name of our client as follows, believing that the problem will still appear. olcSuffix: o=Kundenname M\c3\bcumlaut,c=de No, I did not invent this… With “set -x” in slapd.postinst (and reverting the default /bin/sh to bash to be sure it’s not an mksh problem) I get: root@prodname-dollarcustomer:~ # dpkg -a --configure Setting up slapd (2.4.31-2+deb7u3) ... + . /usr/share/debconf/confmodule ++ '[' '!' '' ']' ++ PERL_DL_NONLAZY=1 ++ export PERL_DL_NONLAZY ++ '[' '' ']' ++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/slapd.postinst configure 2.4.31-2+deb7u3 + . /usr/share/debconf/confmodule ++ '[' '!' 1 ']' ++ '[' -z '' ']' ++ exec ++ '[' '' ']' ++ exec ++ DEBCONF_REDIR=1 ++ export DEBCONF_REDIR + MODE=configure + OLD_VERSION=2.4.31-2+deb7u3 + '[' -f /etc/default/slapd ']' + . /etc/default/slapd ++ SLAPD_CONF= ++ SLAPD_USER=openldap ++ SLAPD_GROUP=openldap ++ SLAPD_PIDFILE= ++ SLAPD_SERVICES='ldap:/// ldapi:///' ++ SLAPD_SENTINEL_FILE=/etc/ldap/noslapd ++ SLAPD_OPTIONS= + '[' -z '' ']' + '[' -f /etc/ldap/slapd.conf ']' + SLAPD_CONF=/etc/ldap/slapd.d + '[' configure = configure ']' + '[' openldap = openldap ']' + create_new_user ++ getent group openldap + '[' -z openldap:x:112: ']' ++ getent passwd openldap + '[' -z 'openldap:x:106:112:OpenLDAP Server Account,,,:/var/lib/ldap:/bin/false' ']' + is_initial_configuration configure 2.4.31-2+deb7u3 + '[' configure = configure ']' + '[' -z 2.4.31-2+deb7u3 ']' + '[' configure = reconfigure ']' + '[' '' ']' + '[' configure = configure ']' + '[' '!' -e /etc/ldap/slapd.d ']' + return 1 + postinst_upgrade_configuration ++ database_dumping_destdir ++ local dir ++ db_get slapd/dump_database_destdir ++ _db_cmd 'GET slapd/dump_database_destdir' ++ _db_internal_IFS=' ' ++ IFS=' ' ++ printf '%s\n' 'GET slapd/dump_database_destdir' ++ IFS=' ' ++ IFS=' ' ++ read -r _db_internal_line ++ RET=/var/backups/slapd-VERSION ++ case ${_db_internal_line%%[ ]*} in ++ return 0 +++ sed -e s/VERSION/2.4.31-2+deb7u3/ +++ echo /var/backups/slapd-VERSION ++ dir=/var/backups/slapd-2.4.31-2+deb7u3 ++ mkdir -p -m 700 /var/backups/slapd-2.4.31-2+deb7u3 ++ echo /var/backups/slapd-2.4.31-2+deb7u3 + echo -n ' Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.4.31-2+deb7u3... ' Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.4.31-2+deb7u3... + backup_config_once + local backupdir + '[' -z '' ']' ++ database_dumping_destdir ++ local dir ++ db_get slapd/dump_database_destdir ++ _db_cmd 'GET slapd/dump_database_destdir' ++ _db_internal_IFS=' ' ++ IFS=' ' ++ printf '%s\n' 'GET slapd/dump_database_destdir' ++ IFS=' ' ++ IFS=' ' ++ read -r _db_internal_line ++ RET=/var/backups/slapd-VERSION ++ case ${_db_internal_line%%[ ]*} in ++ return 0 +++ sed -e s/VERSION/2.4.31-2+deb7u3/ +++ echo /var/backups/slapd-VERSION ++ dir=/var/backups/slapd-2.4.31-2+deb7u3 ++ mkdir -p -m 700 /var/backups/slapd-2.4.31-2+deb7u3 ++ echo /var/backups/slapd-2.4.31-2+deb7u3 + backupdir=/var/backups/slapd-2.4.31-2+deb7u3 + '[' -e /etc/ldap/slapd.d ']' + cp -a /etc/ldap/slapd.d /var/backups/slapd-2.4.31-2+deb7u3 + FLAG_CONFIG_BACKED_UP=yes + echo done. done. + database_format_changed + dpkg --compare-versions 2.4.31-2+deb7u3 lt-nl 2.4.25-2 + return 1 + migrate_to_slapd_d_style + previous_version_older 2.4.23-3 + dpkg --compare-versions 2.4.31-2+deb7u3 lt-nl 2.4.23-3 + return 1 + previous_version_older 2.4.23-5 + dpkg --compare-versions 2.4.31-2+deb7u3 lt-nl 2.4.23-5 + return 1 + configure_v2_protocol_support + local new_conf + db_get slapd/allow_ldap_v2 + _db_cmd 'GET slapd/allow_ldap_v2' + _db_internal_IFS=' ' + IFS=' ' + printf '%s\n' 'GET slapd/allow_ldap_v2' + IFS=' ' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + '[' false '!=' true ']' + return 0 + upda
Bug#864719: marked as done (slapd: fails to configure when olcSuffix contains a backslash-escaped umlaut)
Your message dated Sat, 12 Aug 2017 16:17:11 + with message-id and subject line Bug#864719: fixed in openldap 2.4.44+dfsg-5+deb9u1 has caused the Debian Bug report #864719, regarding slapd: fails to configure when olcSuffix contains a backslash-escaped umlaut to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 864719: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864719 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: slapd Version: 2.4.31-2+deb7u3 Severity: serious Justification: fails to configure With recent security updates being available in Debian oldstable (soon to be oldoldstable, but hey!), the package fails to upgrade because it fails to configure if the olcSuffix contains a nōn-ASCII character (and a space, but I don’t think that is it). I will be filtering the name of our client as follows, believing that the problem will still appear. olcSuffix: o=Kundenname M\c3\bcumlaut,c=de No, I did not invent this… With “set -x” in slapd.postinst (and reverting the default /bin/sh to bash to be sure it’s not an mksh problem) I get: root@prodname-dollarcustomer:~ # dpkg -a --configure Setting up slapd (2.4.31-2+deb7u3) ... + . /usr/share/debconf/confmodule ++ '[' '!' '' ']' ++ PERL_DL_NONLAZY=1 ++ export PERL_DL_NONLAZY ++ '[' '' ']' ++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/slapd.postinst configure 2.4.31-2+deb7u3 + . /usr/share/debconf/confmodule ++ '[' '!' 1 ']' ++ '[' -z '' ']' ++ exec ++ '[' '' ']' ++ exec ++ DEBCONF_REDIR=1 ++ export DEBCONF_REDIR + MODE=configure + OLD_VERSION=2.4.31-2+deb7u3 + '[' -f /etc/default/slapd ']' + . /etc/default/slapd ++ SLAPD_CONF= ++ SLAPD_USER=openldap ++ SLAPD_GROUP=openldap ++ SLAPD_PIDFILE= ++ SLAPD_SERVICES='ldap:/// ldapi:///' ++ SLAPD_SENTINEL_FILE=/etc/ldap/noslapd ++ SLAPD_OPTIONS= + '[' -z '' ']' + '[' -f /etc/ldap/slapd.conf ']' + SLAPD_CONF=/etc/ldap/slapd.d + '[' configure = configure ']' + '[' openldap = openldap ']' + create_new_user ++ getent group openldap + '[' -z openldap:x:112: ']' ++ getent passwd openldap + '[' -z 'openldap:x:106:112:OpenLDAP Server Account,,,:/var/lib/ldap:/bin/false' ']' + is_initial_configuration configure 2.4.31-2+deb7u3 + '[' configure = configure ']' + '[' -z 2.4.31-2+deb7u3 ']' + '[' configure = reconfigure ']' + '[' '' ']' + '[' configure = configure ']' + '[' '!' -e /etc/ldap/slapd.d ']' + return 1 + postinst_upgrade_configuration ++ database_dumping_destdir ++ local dir ++ db_get slapd/dump_database_destdir ++ _db_cmd 'GET slapd/dump_database_destdir' ++ _db_internal_IFS=' ' ++ IFS=' ' ++ printf '%s\n' 'GET slapd/dump_database_destdir' ++ IFS=' ' ++ IFS=' ' ++ read -r _db_internal_line ++ RET=/var/backups/slapd-VERSION ++ case ${_db_internal_line%%[ ]*} in ++ return 0 +++ sed -e s/VERSION/2.4.31-2+deb7u3/ +++ echo /var/backups/slapd-VERSION ++ dir=/var/backups/slapd-2.4.31-2+deb7u3 ++ mkdir -p -m 700 /var/backups/slapd-2.4.31-2+deb7u3 ++ echo /var/backups/slapd-2.4.31-2+deb7u3 + echo -n ' Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.4.31-2+deb7u3... ' Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.4.31-2+deb7u3... + backup_config_once + local backupdir + '[' -z '' ']' ++ database_dumping_destdir ++ local dir ++ db_get slapd/dump_database_destdir ++ _db_cmd 'GET slapd/dump_database_destdir' ++ _db_internal_IFS=' ' ++ IFS=' ' ++ printf '%s\n' 'GET slapd/dump_database_destdir' ++ IFS=' ' ++ IFS=' ' ++ read -r _db_internal_line ++ RET=/var/backups/slapd-VERSION ++ case ${_db_internal_line%%[ ]*} in ++ return 0 +++ sed -e s/VERSION/2.4.31-2+deb7u3/ +++ echo /var/backups/slapd-VERSION ++ dir=/var/backups/slapd-2.4.31-2+deb7u3 ++ mkdir -p -m 700 /var/backups/slapd-2.4.31-2+deb7u3 ++ echo /var/backups/slapd-2.4.31-2+deb7u3 + backupdir=/var/backups/slapd-2.4.31-2+deb7u3 + '[' -e /etc/ldap/slapd.d ']' + cp -a /etc/ldap/slapd.d /var/backups/slapd-2.4.31-2+deb7u3 + FLAG_CONFIG_BACKED_UP=yes + echo done. done. + database_format_changed + dpkg --compare-versions 2.4.31-2+deb7u3 lt-nl 2.4.25-2 + return 1 + migrate_to_slapd_d_style + previous_version_older 2.4.23-3 + dpkg --compare-versions 2.4.31-2+deb7u3 lt-nl 2.4.23-3 + return 1 + previous_version_older 2.4.23-5 + dpkg --compare-versions 2.4.31-2+deb7u3 lt-nl 2.4.23-5 + return 1 + configure_v2_protocol_support + local new_conf + db_get slapd/allow_ldap_v2 + _db_cmd 'GET slapd/allow_ldap_v2' + _db_internal_IFS=' ' + IFS=' ' + printf '%s\n' 'GET slapd/allow_ldap_v2' + IFS=' ' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + '[' false '!=' true ']' + return 0
Bug#864719: marked as done (slapd: fails to configure when olcSuffix contains a backslash-escaped umlaut)
Your message dated Tue, 27 Jun 2017 06:19:13 + with message-id and subject line Bug#864719: fixed in openldap 2.4.44+dfsg-6 has caused the Debian Bug report #864719, regarding slapd: fails to configure when olcSuffix contains a backslash-escaped umlaut to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 864719: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864719 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: slapd Version: 2.4.31-2+deb7u3 Severity: serious Justification: fails to configure With recent security updates being available in Debian oldstable (soon to be oldoldstable, but hey!), the package fails to upgrade because it fails to configure if the olcSuffix contains a nōn-ASCII character (and a space, but I don’t think that is it). I will be filtering the name of our client as follows, believing that the problem will still appear. olcSuffix: o=Kundenname M\c3\bcumlaut,c=de No, I did not invent this… With “set -x” in slapd.postinst (and reverting the default /bin/sh to bash to be sure it’s not an mksh problem) I get: root@prodname-dollarcustomer:~ # dpkg -a --configure Setting up slapd (2.4.31-2+deb7u3) ... + . /usr/share/debconf/confmodule ++ '[' '!' '' ']' ++ PERL_DL_NONLAZY=1 ++ export PERL_DL_NONLAZY ++ '[' '' ']' ++ exec /usr/share/debconf/frontend /var/lib/dpkg/info/slapd.postinst configure 2.4.31-2+deb7u3 + . /usr/share/debconf/confmodule ++ '[' '!' 1 ']' ++ '[' -z '' ']' ++ exec ++ '[' '' ']' ++ exec ++ DEBCONF_REDIR=1 ++ export DEBCONF_REDIR + MODE=configure + OLD_VERSION=2.4.31-2+deb7u3 + '[' -f /etc/default/slapd ']' + . /etc/default/slapd ++ SLAPD_CONF= ++ SLAPD_USER=openldap ++ SLAPD_GROUP=openldap ++ SLAPD_PIDFILE= ++ SLAPD_SERVICES='ldap:/// ldapi:///' ++ SLAPD_SENTINEL_FILE=/etc/ldap/noslapd ++ SLAPD_OPTIONS= + '[' -z '' ']' + '[' -f /etc/ldap/slapd.conf ']' + SLAPD_CONF=/etc/ldap/slapd.d + '[' configure = configure ']' + '[' openldap = openldap ']' + create_new_user ++ getent group openldap + '[' -z openldap:x:112: ']' ++ getent passwd openldap + '[' -z 'openldap:x:106:112:OpenLDAP Server Account,,,:/var/lib/ldap:/bin/false' ']' + is_initial_configuration configure 2.4.31-2+deb7u3 + '[' configure = configure ']' + '[' -z 2.4.31-2+deb7u3 ']' + '[' configure = reconfigure ']' + '[' '' ']' + '[' configure = configure ']' + '[' '!' -e /etc/ldap/slapd.d ']' + return 1 + postinst_upgrade_configuration ++ database_dumping_destdir ++ local dir ++ db_get slapd/dump_database_destdir ++ _db_cmd 'GET slapd/dump_database_destdir' ++ _db_internal_IFS=' ' ++ IFS=' ' ++ printf '%s\n' 'GET slapd/dump_database_destdir' ++ IFS=' ' ++ IFS=' ' ++ read -r _db_internal_line ++ RET=/var/backups/slapd-VERSION ++ case ${_db_internal_line%%[ ]*} in ++ return 0 +++ sed -e s/VERSION/2.4.31-2+deb7u3/ +++ echo /var/backups/slapd-VERSION ++ dir=/var/backups/slapd-2.4.31-2+deb7u3 ++ mkdir -p -m 700 /var/backups/slapd-2.4.31-2+deb7u3 ++ echo /var/backups/slapd-2.4.31-2+deb7u3 + echo -n ' Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.4.31-2+deb7u3... ' Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.4.31-2+deb7u3... + backup_config_once + local backupdir + '[' -z '' ']' ++ database_dumping_destdir ++ local dir ++ db_get slapd/dump_database_destdir ++ _db_cmd 'GET slapd/dump_database_destdir' ++ _db_internal_IFS=' ' ++ IFS=' ' ++ printf '%s\n' 'GET slapd/dump_database_destdir' ++ IFS=' ' ++ IFS=' ' ++ read -r _db_internal_line ++ RET=/var/backups/slapd-VERSION ++ case ${_db_internal_line%%[ ]*} in ++ return 0 +++ sed -e s/VERSION/2.4.31-2+deb7u3/ +++ echo /var/backups/slapd-VERSION ++ dir=/var/backups/slapd-2.4.31-2+deb7u3 ++ mkdir -p -m 700 /var/backups/slapd-2.4.31-2+deb7u3 ++ echo /var/backups/slapd-2.4.31-2+deb7u3 + backupdir=/var/backups/slapd-2.4.31-2+deb7u3 + '[' -e /etc/ldap/slapd.d ']' + cp -a /etc/ldap/slapd.d /var/backups/slapd-2.4.31-2+deb7u3 + FLAG_CONFIG_BACKED_UP=yes + echo done. done. + database_format_changed + dpkg --compare-versions 2.4.31-2+deb7u3 lt-nl 2.4.25-2 + return 1 + migrate_to_slapd_d_style + previous_version_older 2.4.23-3 + dpkg --compare-versions 2.4.31-2+deb7u3 lt-nl 2.4.23-3 + return 1 + previous_version_older 2.4.23-5 + dpkg --compare-versions 2.4.31-2+deb7u3 lt-nl 2.4.23-5 + return 1 + configure_v2_protocol_support + local new_conf + db_get slapd/allow_ldap_v2 + _db_cmd 'GET slapd/allow_ldap_v2' + _db_internal_IFS=' ' + IFS=' ' + printf '%s\n' 'GET slapd/allow_ldap_v2' + IFS=' ' + IFS=' ' + read -r _db_internal_line + RET=false + case ${_db_internal_line%%[ ]*} in + return 0 + '[' false '!=' true ']' + return 0 + updat