tags 476803 + moreinfo unreproducible
thanks

OoO  En cette  fin de  matinée radieuse  du samedi  19 avril  2008, vers
11:47, Michael Tautschnig <[EMAIL PROTECTED]> disait:

> Package: roundcube
> Version: 0.1.1-1

> Roundcube uses debconf to fetch proper database settings. This is broken in
> several ways:
> - The questions do not make use of preseeded values. In fact it seems that 
> only
>   roundcube/hosts is honored, all others are ignored (including
>   roundcube/language)
> - If, in contrast to the defaults, mysql over tcp/ip is configured (this may
>   apply to other non-defaults as well) via debconf answers entered by the 
> users,
>   this is completely ignored, the options never end up in
>   /etc/roundcube/debian-db.php

Hi Michael!

Thanks  for your report.  I have  used a  clean sid  chroot to  do those
tests. Here is my preseed file:

8<-----------------------------------------------------------------
roundcube-core  roundcube/mysql/method  select  tcp/ip
roundcube-core  roundcube/dbconfig-reinstall    boolean false
roundcube-core  roundcube/purge boolean false
roundcube-core  roundcube/language      select  de_DE
roundcube-core  roundcube/db/dbname     string  roundcube
roundcube-core  roundcube/remote/newhost        string  127.0.0.2
roundcube-core  roundcube/remote/port   string  3319
roundcube-core  roundcube/restart-webserver     boolean false
roundcube-core  roundcube/install-error select  ignore
roundcube-core  roundcube/mysql/admin-user      string  root
roundcube-core  roundcube/hosts string  ssl://dummy.test:993
roundcube-core  roundcube/database-type select  mysql
roundcube-core  roundcube/remote/host   select  127.0.0.2
roundcube-core  roundcube/db/app-user   string  roundcube
8<-----------------------------------------------------------------

I  load the  preseed  file with  debconf-set-selections  then I  install
roundcube   with  "apt-get  install   -y  -q   roundcube  roundcube-core
roundcube-mysql". I get the following debian-db.php :

8<-----------------------------------------------------------------
$dbuser='roundcube';
$dbpass='ZvWD4IbQJHt6';
$basepath='';
$dbname='roundcube';
$dbserver='127.0.0.2';
$dbport='3319';
$dbtype='mysql';
8<-----------------------------------------------------------------

This seems to work fine for me. What is your preseed file?

Because of  some black magic in config,  roundcube/language gets ignored
when preseeded. I will try to fix this one.
-- 
MY NAME IS NOT DR. DEATH
MY NAME IS NOT DR. DEATH
MY NAME IS NOT DR. DEATH
-+- Bart Simpson on chalkboard in episode 8F18

Attachment: pgpobOGaQrMPs.pgp
Description: PGP signature

Reply via email to