[Pkg-roundcube-maintainers] Bug#476803: Debconf use is utterly broken

Vincent Bernat bernat at debian.org
Sat Apr 19 14:46:14 UTC 2008


tags 476803 + moreinfo unreproducible
thanks

OoO  En cette  fin de  matinée radieuse  du samedi  19 avril  2008, vers
11:47, Michael Tautschnig <mt at debian.org> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-roundcube-maintainers/attachments/20080419/c6129ec7/attachment.pgp 


More information about the Pkg-roundcube-maintainers mailing list