Bug#1025815: maintainerscripts choke on debconf-set-selection set input

Ryan Tandy ryan at nardis.ca
Fri Dec 23 18:44:03 GMT 2022


Hi Marc, thanks for the report, and sorry for the slow response.

On Fri, Dec 09, 2022 at 08:15:29PM +0100, Marc Haber wrote:
>Nevetheless, openldap should be able to reconfigure itself after the
>Debconf database is preseeded with a string that came out of
>debconf-get-selections.

The original file appears to have its columns separated by multiple 
space characters [1].

On my systems, the output from debconf-get-selections has columns 
separated by one tab character [2]. The debconf-set-selections man page 
also specifies that the columns should be "separated by one character of 
whitespace".

I'm wondering if your file had its tabs converted to spaces at some 
point.

You're right that the older slapd package does accept that input. I 
haven't figured out exactly what changed.

[1] curl https://salsa.debian.org/sudo-team/sudo/-/raw/e9b19ee70d8b0ac9604b2cb645d32acd5a1fa5e2/debian/tests/03/ldif/debconf | hexdump -C
[2] debconf-get-selections | grep slapd | hexdump -C

thanks,
Ryan



More information about the Pkg-openldap-devel mailing list