slapd.config infinite loop

Bug #12470 reported by Tristan Hill
6
Affects Status Importance Assigned to Milestone
openldap (Ubuntu)
Confirmed
Low
Unassigned
Dapper
Invalid
Undecided
Unassigned
openldap2.2 (Ubuntu)
Invalid
Low
Unassigned
Dapper
Invalid
Low
Unassigned

Bug Description

slapd_2.1.30-2

The query_initial_config function will only terminate if validate_initial_config
is true. If you do something silly like put a _ in the domain the function
will infinite loop (if in DEBIAN_FRONTEND=noninteractive mode)

Revision history for this message
Dennis Kaarsemaker (dennis) wrote :

Is this bug still present in Breezy/Dapper?

Revision history for this message
Tristan Hill (stan) wrote :

(In reply to comment #1)
> Is this bug still present in Breezy/Dapper?

Appears to be

Reproduce with
# export DEBIAN_FRONTEND=noninteractive
# export DEBCONF_DEBUG=developer
# dpkg --purge slapd
# echo slapd slapd/domain string _ | debconf-set-selections
# apt-get install slapd
<spin>

Some possibilities:
 * Add "_" to the regex (any other characters missing?) - not even sure "_" is valid
 * Add [ "$DEBIAN_FRONTEND" == "noninteractive" ] && db_set slapd/domain
nodomain in a relevant place
 * Set the default for slapd/invalid_config to false in the template

Revision history for this message
Jonathan Anderson (jonathan-anderson) wrote :

Confirmed in Dapper.

Changed in openldap2.2:
status: Unconfirmed → Confirmed
Revision history for this message
Jonathan Anderson (jonathan-anderson) wrote :

Also, I don't see this problem in Debian Sarge.

Colin Watson (cjwatson)
Changed in openldap2.2:
assignee: kamion → nobody
Mathias Gug (mathiaz)
Changed in openldap2.2:
status: Confirmed → Invalid
Changed in openldap:
status: New → Invalid
importance: Undecided → Low
status: New → Confirmed
Changed in openldap2.2:
importance: Undecided → Low
status: New → Confirmed
Mathias Gug (mathiaz)
Changed in openldap:
status: Confirmed → Triaged
Changed in openldap2.2:
status: Confirmed → Triaged
Revision history for this message
JC Hulce (soaringsky) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. When you test it and it is still an issue, kindly upload the updated logs by running apport-collect <bug #> and any other logs that are relevant for this particular issue.

Changed in openldap (Ubuntu):
status: Triaged → Incomplete
Changed in openldap2.2 (Ubuntu Dapper):
status: Triaged → Incomplete
Revision history for this message
JC Hulce (soaringsky) wrote :

Dapper is EOL, closing this bug.

Changed in openldap2.2 (Ubuntu Dapper):
status: Incomplete → Invalid
Revision history for this message
Tristan Hill (stan) wrote :

still reproducible with slapd from precise following steps in #2

Revision history for this message
JC Hulce (soaringsky) wrote :

Thank you, reopened.

Changed in openldap (Ubuntu):
status: Incomplete → Confirmed
Changed in openldap2.2 (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
Tristan Hill (stan) wrote :

I think the package is slapd, now source package openldap. AFAIK openldap2.2 no longer exists - so openldap2.2 invalid/won't fix status is probably correct.

JC Hulce (soaringsky)
Changed in openldap2.2 (Ubuntu):
status: Confirmed → Invalid
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.