Here is a little reproducer I'm using.

apt update
DEBIAN_FRONTEND=noninteractive apt-get -y --allow-unauthenticated -o 
Dpkg::Options::='--force-confold' install slapd ldap-utils

debconf-set-selections -v << EOF
slapd slapd/domain string example.com
slapd shared/organization string example
slapd slapd/password1 password secret
slapd slapd/password2 password secret
EOF

rm -rf /var/backups/*slapd* /var/backups/unknown*ldapdb

# note slapd pid

pidof slapd

dpkg-reconfigure -fnoninteractive -pcritical slapd

# check if slapd was restarted
pidof slapd

# also, this command should work
# ldapwhoami -x -D cn=admin,dc=example,dc=com -w secret
dn:cn=admin,dc=example,dc=com

I'm attaching set -x outputs from all slapd maintainer scripts during
the reconfigure, in each case (proposed and release)

** Attachment added: "slapd-reconfigure-release.log"
   
https://bugs.launchpad.net/ubuntu/+source/debhelper/+bug/1959054/+attachment/5561894/+files/slapd-reconfigure-release.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1959054

Title:
  debhelper restarts services marked --no-restart-on-upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debhelper/+bug/1959054/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to