Control: retitle -1 password auth in pgsql requires non-empty dbserver
Control: tags -1 confirmed

On Sun, 8 Feb 2009 16:44:01 +0100 sean finney <sean...@debian.org> wrote:
> at some point the template output format from dbconfig-generate-include
> was modified to do just this, but i don't recall why the others weren't
> changed similarly.

For reference, that was bug 429841 [1]. Probably it was just an
oversight, but one reason might be that in the other output formats the
actual commands are known, thus there is less reason to "fix" the empty
dbc_dbserver string there than in the template as in the original bug.
If this analysis is correct, this bug report is just "new" in the sense
that for non-ident pgsql authentication, the dbc_dbserver string must
not be empty. It should not be very difficult to fix this particular
wrong behavior.

Side note, the solution for [1] causes packages that use the template
format to for sure not be able to use the Unix socket approach.

> i'll see if i can figure out why, and in any event probably introduce
> a new postinst variable to control/change the default behavior in the
> next version.

I'll investigate further, but I am not sure if this is actually needed,
i.e. when not using Unix socket method, dbserver should not be empty, if
Unix socket method, host doesn't matter and dbc_dbserver should probably
be empty.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=429841

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to