[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#581808: Regression in debconf breaking live-initramfs



Daniel Baumann wrote:
> Package: debconf
> Severity: important
> Owner: debian-live@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

Attachment: signature.asc
Description: Digital signature


Reply to: