[Dbconfig-common-devel] Read only access for all users to database
Paul Gevers
elbrus at debian.org
Tue Jun 7 04:30:20 UTC 2016
Hi Kip,
On 03-06-16 22:57, Kip Warner wrote:
> On Fri, 2016-06-03 at 22:52 +0200, Paul Gevers wrote:
> Could you clarify? One can set dbc_dbuser, dbc_dbname, etc., but there
> is no dbc_dbhost. It appears from the documentation that the hook
> always attempts to create the database on the localhost.
>
> https://people.debian.org/~seanius/policy/examples/dbconfig-common/d
> oc/dbconfig-common-using.html
Those pages are from the previous maintainer (and creator) and are
outdated, the latest version is in the package at ¹. Nevertheless, this
page doesn't mention anything about being local or remote. As the
location of the database is not something that the package maintainer
has (or should have) control about, this is FULLY in control of the
administrator installing the package. So, e.g. look at the description
of dbconfig-common, it contains the following:
"""
It can:
- access local or remote databases;
"""
.
Furthermore, you should just try it out. Please install any package that
uses dbconfig-common with either MySQL or PostgreSQL and install it with
"DEBIAN_PRIORITY=low" set, or run dpkg-reconfigure on the package, and
you will see the question about on which host you (want to) have the
database.
Paul
¹ /usr/share/doc/dbconfig-common/dbconfig-common.html/ch-develguide.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/dbconfig-common-devel/attachments/20160607/0ae2fbd4/attachment.sig>
More information about the Dbconfig-common-devel
mailing list