[Pkg-postgresql-public] Bug#809811: postgresql-common: server maintscripts operate on all the versions when using systemd

Nicolas Dandrimont olasd at debian.org
Mon Jan 4 10:44:24 UTC 2016


Package: postgresql-common
Version: 171
Severity: important

Dear Maintainer,

When using systemd, and having several versions of postgresql installed, an
upgrade of e.g. postgresql-9.5 will stop then start all versions.

It seems that the maintainer scripts use "invoke-rc.d postgresql $action
$version", and systemd happily ignores the spare $version argument.

AFAICT some kind of switch on the presence (and usage) of systemd is needed, to
be able to operate on the specific postgresql@$version-$cluster autogenerated
units.

Thanks!
Nicolas

-- System Information:
Debian Release: stretch/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages postgresql-common depends on:
ii  adduser                   3.113+nmu3
ii  debconf [debconf-2.0]     1.5.58
ii  init-system-helpers       1.24
ii  lsb-base                  9.20150917
ii  postgresql-client-common  171
ii  procps                    2:3.3.11-3
ii  ssl-cert                  1.0.37
ii  ucf                       3.0031

Versions of packages postgresql-common recommends:
ii  logrotate  3.8.7-2

postgresql-common suggests no packages.

-- debconf information excluded



More information about the Pkg-postgresql-public mailing list