[Debconf-devel] Bug#581808: Regression in debconf breaking live-initramfs

Joey Hess joeyh at debian.org
Mon May 17 17:25:35 UTC 2010


Daniel Baumann wrote:
> Package: debconf
> Severity: important
> Owner: debian-live at lists.debian.org
> Affects: live-initramfs 1.236.1-1
> 
> Hi,
> 
> I'm having a weird problem with debconf which breaks live-initramfs
> 1.236.1-1:
> 
> + db_set passwd/root-password-crypted *
> + _db_cmd SET passwd/root-password-crypted *
> + IFS=  printf %s\n SET passwd/root-password-crypted *
> + IFS=
>  read -r _db_internal_line
> debconf: Problem setting up the database defined by stanza 6 of
> /tmp/debconf.WiUt9e/debconf.conf.
> Attempt to access disallowed key '+readonly' in a restricted hash at
> /usr/share/perl5/Debconf/DbDriver.pm line 35, <DEBCONF_CONFIG> chunk 6.
> + RET=
> + return
> 
> surprisingly, the exactely same version works without any problems in lenny:
> 
> + db_set passwd/root-password-crypted *
> + _db_cmd SET passwd/root-password-crypted *
> + IFS=  printf %s\n SET passwd/root-password-crypted *
> + IFS=
>  read -r _db_internal_line
> + RET=
> + return
> 
> i couldn't find anything related in the debconf changelog, is this a
> bug, or did something change, and how can i fix it or workaround it?
> 
> also, if you need further information, i'm of course happy to provide it.

Seems like the minimum information you could provide for a bug of this
sort would always be the version of debconf you are using, and a copy of
the config file that breaks it.

I made an educated guess, and modified my /etc/debconf.conf to
contain this line:

+Readonly: true

And reproduced the problem that way. Are you really leaking patch
+- markers into your debconf.conf?

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debconf-devel/attachments/20100517/8ecd29c4/attachment-0001.pgp>


More information about the Debconf-devel mailing list