[Debconf-devel] Bug#440857: debconf: "Key by Key" patch for LDAP backend

Davor Ocelic docelic at mail.inet.hr
Tue Sep 4 21:11:23 UTC 2007


Package: debconf
Version: 1.5.14
Severity: wishlist
Tags: patch

Hello,

Attached is a patch which adds "Key by Key" feature
to the LDAP backend.

Currently, when LDAP backend is used, it retrieves
all debconf keys from the directory at once, operates
on them in memory, and on shutdown writes the changed
entries back to LDAP.

This was not suitable for me because I needed debconf
to retrieve keys "key by key", individually, so that
I could detect individual accesses on the LDAP server
side.

The new option for debconf.conf file is called 
"KeyByKey" and is turned off by default, preserving
the default behavior.

The patch is available from
http://hcoop.net/~docelic/debconf-ldap-keybykey.diff.txt

It was made against 1.5.14, but would probably apply
to years-old versions as well.

Regards,
Davor Ocelic




More information about the Debconf-devel mailing list