Control: tags -1 confirmed

Hi Evgeni,

On 27-07-15 21:12, Evgeni Golov wrote:
> since 1.8.49 preseeding of dbc_dbuser and dbc_dbname seems not to work 
> anymore.

Thanks for reporting this issue. Technically, I wouldn't call it
preseeding, as this use of seeding was probably lost when I implemented
proper (debconf) preseeding.

> One can reproduce this by modifying the shipped examples like this:
> index cd05b3d..69706cd 100644
> --- a/examples/db-test-pgsql-2.0/debian/config
> +++ b/examples/db-test-pgsql-2.0/debian/config
> @@ -8,5 +8,7 @@ set -e
>  if [ -f /usr/share/dbconfig-common/dpkg/config.pgsql ]; then
>         . /usr/share/dbconfig-common/dpkg/config.pgsql 
>         #dbc_authmethod_user="password"
> +       dbc_dbuser='someuser'
> +       dbc_dbname='somedb'
>         dbc_go db-test-pgsql "$@"
>  fi
> 
> I would expect the dbuser to be set to "someuser" and the dbname to "somedb",
> but both show up as "dbtestpgsql" in the Debconf question.

I'll have to think how to solve this, but it won't be the next two weeks.

Paul

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to