[Pkg-roundcube-maintainers] Bug#961765: Bug#961765: roundcube-core: package needs work for sqlite

Guilhem Moulin guilhem at debian.org
Fri May 29 22:43:39 BST 2020


On Fri, 29 May 2020 at 11:38:31 +1000, Russell Coker via Pkg-roundcube-maintainers wrote:
> The package install asks questions about MySQL but there's no option for
> specifying sqlite.

It now occurs to me that what you're reporting here is the extra work
users of the package allegedly have to do for SQLite3-driven Roundcube.
(At first I read the Subject: like roundcube-* packaging was “in need of
work” which came across as a rather rude thing to say :-/.)

As I wrote earlier we're relying on dbconfig-common for database
creation and other operations, and the default settings

    dbc_basepath='/var/lib/dbconfig-common/sqlite3/roundcube'
    dbc_dbname='roundcube'

work out of the box for me.  If a single package among roundcube-{mysql,pgsql,sqlite3}
is installed dbconfig proceeds with that backend, otherwise it asks
which backend to use.

dbconfig doesn't ask where to place the SQLite3 database in default
priority; it's a fine choice IMHO as long as the path remains in
dbconfig's namespace.  For MySQL/PostgreSQL dbconfig asks where to find
the server and database in default priority, which is also a fine choice
IMHO as dbconfig doesn't manage these namespace.

Options to use a different basepath/dbname for roundcube-sqlite3 include
preseeding the debconf questions, installing under DEBIAN_PRIORITY=low,
or doing it later via `dpkg-reconfigure roundcube-core`.

If you think the user should be asked basepath/dbname under default
priority please file a bug against dbconfig-common.

-- 
Guilhem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-roundcube-maintainers/attachments/20200529/89387183/attachment.sig>


More information about the Pkg-roundcube-maintainers mailing list