[Pkg-roundcube-maintainers] Bug#476803: Debconf use is utterly broken
bernat at debian.org
Sun Apr 20 11:31:33 UTC 2008
OoO Pendant le temps de midi du dimanche 20 avril 2008, vers 12:07,
Michael Tautschnig <mt at debian.org> disait:
>> Thanks for your report. I have used a clean sid chroot to do those
>> tests. Here is my preseed file:
> I'm missing one important answer in this preseeding:
> # Configure database for roundcube with dbconfig-common?
> roundcube-core roundcube/dbconfig-install boolean
> The answer must obviously be yes, because otherwise it doesn't put any useful
> information into debian-db.php at all (only dbuser and dbname will be
I suppose this is the default value since I did not need to use it.
> corn:/# debconf-set-selections < bla
I use debconf-set-selections bla, but I think this is unimportant.
> dbconfig-common: writing config to /etc/dbconfig-common/roundcube.conf
> Creating config file /etc/dbconfig-common/roundcube.conf with new version
> Creating config file /etc/roundcube/debian-db.php with new version
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2).
> unable to connect to mysql server.
> error encountered creating user:
> ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
> dbconfig-common: roundcube configure: ignoring errors from here forwards
> populating database via sql... done.
> dbconfig-common: flushing administrative password
> Creating config file /etc/roundcube/main.inc.php with new version
> Lighttpd not installed, skipping
> Setting up roundcube (0.1.1-1) ...
I have exactly the same output (including mysql errors, ignored because
of roundcube/install-error value).
> corn:/# cat /etc/roundcube/debian-db.php
> ## database access settings in php format
> ## automatically generated from /etc/dbconfig-common/roundcube.conf
> ## by /usr/sbin/dbconfig-generate-include
> ## Sun, 20 Apr 2008 09:25:10 +0000
> ## by default this file is managed via ucf, so you shouldn't have to
> ## worry about manual changes being silently discarded. *however*,
> ## you'll probably also want to edit the configuration file mentioned
> ## above too.
This is really odd. Does the correct values are present in
/etc/dbconfig-common/roundcube.conf? What kind of fresh sid system do
you use? I made my own tests on a freshly updated pbuilder.
>> Because of some black magic in config, roundcube/language gets ignored
>> when preseeded. I will try to fix this one.
> So, well, let me try to refine my report:
> - Preseeding does work, apart from the language, which you have fixed in SVN
> - The configuration of a remote mysql server, however, seems not to work.
> Then, this is not actually the work of roundcube, but rather dbconfig-common,
> which is doing this work. I will thus clone and reassign this bug, leaving the
> original bug for the locale-reconfiguration problem.
Fine for me.
panic("aha1740.c"); /* Goodbye */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-roundcube-maintainers/attachments/20080420/54354c62/attachment.pgp
More information about the Pkg-roundcube-maintainers