Subject: Re: Bug#640344: simple-cdd fails to preseed passwords

From: Vagrant Cascadian <[email-masked]>
Date: Tue, 17 Jan 2017 15:24:51 -0800

Control: block 640344 by 587380
Control: affects 587380 simple-cdd

On 2011-09-04, Vagrant Cascadian wrote:
> On Sun, Sep 04, 2011 at 02:27:41PM +0200, Tom wrote:
>> When trying to preseed a password with simple-cdd, eg passwd/root-password-crypted,
>> simple-cdd fails with the following error message:
>> 
>> debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
>> error: Cannot find a question for passwd/root-password-crypted
>> 
>> because the question for the existing template is in the inaccessible passwords.dat
>
> simple-cdd uses "debconf-set-selections --checkonly" to check the preseed 
> files, but as you've noticed, debconf questions in passwords.dat cannot be 
> checked by non-root users.

Since this is caused by a limitation of debconf-set-selections, adding
block and affects appropriately.

live well,
  vagrant