[PKG-Openstack-devel] Bug#770941: closed by Thomas Goirand <zigo at debian.org> (Re: 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
Wed Nov 26 07:18:34 UTC 2014
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:
> postgresql:///nova
> 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:[1]
| 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
wants. You can use ucf to do this task of merging config files.
> P.S: Please don't reopen the bug. The config and postinst scripts are
> doing exactly what I wanted them to do, and I feel like this is the
> correct behavior. If you don't like the current behavior, I welcome you
> to discuss it in the packaging list, but using BTS ping-pong isn't the
> way to do so.
Well, I don't think so. You can yourself refer to the ctte or I will.
Bastian
--
Bastian Blank
Berater
Telefon: +49 2161 / 4643-194
E-Mail: bastian.blank at credativ.de
credativ GmbH, HRB Mönchengladbach 12080, USt-ID-Nummer: DE204566209
Hohenzollernstr. 133, 41061 Mönchengladbach
Geschäftsführung: Dr. Michael Meskes, Jörg Folz, Sascha Heuer
More information about the Openstack-devel
mailing list