Package: dbconfig-pgsql
Version: 2.0.4~bpo8+1
Severity: normal

Hey.

When having UNIX sockets in dbconfig-common, it still uses the term "ident" as
the auth mode.
This is a bit obsolete since many postgresql versions, as "peer" will be 
actually
done when "ident" is specified and UNIX sockets are used.
ident is in principle actually the ident daemon that could be used with TCP.
See https://www.postgresql.org/docs/current/static/auth-pg-hba-conf.html.


It would be nice if dbconfig could use "peer" instead, in both places:
- what the user sees in the UI
- what's actually stored in the configs/etc.

But it should be noticed that "peer" as a actual name is only available
since postgresql 9.1 (though all older versions are upstream unsupported),
so when an older version is used "peer" is not understood by postgresql.
Anyway I don't think this is anyhow specified/used when dbconfig invokes
postgresql, or is it?

Cheers,
Chris.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to