dpkg-reconfigure ldap-auth-client ignores values in debconf database
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ldap-auth-client (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I was trying to perform some unattended configuration with debconf-
However the config script always prefers values from the existing `/etc/ldap.conf` independent on what I set in the debconf database with debconf-
Not even deleting `/etc/ldap.conf` before calling reconfigure seems to work as it will not recreate the configuration file if it is missing.
The only workaround I found is to create an new /etc/ldap.conf which only contains exactly '###DEBCONF###\n'
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
DistroRelease: Ubuntu 18.04
Package: ldap-auth-client 0.5.3
PackageArchitec
ProcVersionSign
Tags: bionic
Uname: Linux 4.15.0-47-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
Thank you for taking the time to report this bug and helping to make Ubuntu better.
However, your report is missing essential information and therefore no action can be taken yet. Specifically you haven't told us which package versions are affected, what release of Ubuntu you're using, or provided exact steps to reproduce the problem.
You may find it helpful to read "How to report bugs effectively" http:// www.chiark. greenend. org.uk/ ~sgtatham/ bugs.html. We'd be grateful if you would then provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to New.