dpkg-reconfigure ldap-auth-client ignores values in debconf database

Bug #1825025 reported by Martin Ritter
6
This bug affects 1 person
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-get-selections/debconf-set-selections

However the config script always prefers values from the existing `/etc/ldap.conf` independent on what I set in the debconf database with debconf-set-selections.

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
PackageArchitecture: all
ProcVersionSignature: Ubuntu 4.15.0-47.50-generic 4.15.18
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

Revision history for this message
Robie Basak (racb) wrote :

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.

Changed in ldap-auth-client (Ubuntu):
status: New → Incomplete
Revision history for this message
Martin Ritter (martin-ritter) wrote : Dependencies.txt

apport information

tags: added: apport-collected bionic
description: updated
Revision history for this message
Martin Ritter (martin-ritter) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Martin Ritter (martin-ritter) wrote : ProcEnviron.txt

apport information

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ldap-auth-client (Ubuntu) because there has been no activity for 60 days.]

Changed in ldap-auth-client (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Marcel Partap (empee584) wrote :

Maybe there's an equivalent setting to?
> console-setup console-setup/store_defaults_in_debconf_db boolean false

( found that mentioned in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=352697#27 )

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.