Bug#770941: closed by Thomas Goirand <zigo <at> debian.org> (Re: [PKG-Openstack-devel] Bug#770941: closed by Thomas Goirand <zigo <at> debian.org> (Re: Bug#770941: nova-common - Overrides database config in nova.conf))
Bastian Blank <bastian.blank <at> credativ.de>
2014-11-26 07:18:34 GMT
Control: reopen -1
On Wed, Nov 26, 2014 at 01:09:08AM +0000, Debian Bug Tracking System wrote:
> > It is a valid DSN.
> In this:
> Where's the user and password? What's the hostname?
User and password is not needed for ident auth, empty hostname is
documented as using the unix socket. And the documentation tells:
| These URLs follow RFC-1738, and usually can include username, password,
| hostname, database name as well as optional keyword arguments for
| additional configuration. In some cases a file path is accepted, and in
| others a “data source name” replaces the “host” and “database” portions.
So they _can_ include, not they _must_ include. Also there are examples
of this usage.
> If theoretically, this *may* be a valid DSN, but practically, I don't
> think you'd be using a DNS without a valid hostname, login and pass.
It is valid in practice, otherwise it would not work in the first place.
> > And even if not, it must not change it.
> The idea behind the policy is that a config script shouldn't change a
> valid configuration, so that it is possible edit the configuration file,
> and that change be kept when installing or upgrading.
No, the idea is that the user have all right to change it to whatever he