[Pkg-postgresql-public] Bug#856316: postgresql-common: /lib/systemd/system-generators/postgresql-generator does not allow to fully override service in /etc/systemd/system

Johan Fleury jfleury at arcaik.net
Mon Feb 27 17:58:14 UTC 2017


Package: postgresql-common
Version: 165+deb8u2
Severity: normal
File: /lib/systemd/system-generators/postgresql-generator

Dear Maintainer,

I tried to override the `postgresql at .service` by copying it from
`/lib/systemd/system/` to `/etc/systemd/system` but the generator script
uses the package's unit file as an hardcoded value.

```
11 pgservice="/lib/systemd/system/postgresql at .service"
```

Creating an `override.conf` in
`/etc/systemd/system/postgresql at .service.d` should work but does not
allow to fully override the unit configuration.

This is also present in the latest version of postgresql-common (179):
<https://packages.debian.org/sid/postgresql-common>.


-- System Information:
Debian Release: 8.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored:
LC_ALL set to en_US.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.56
ii  init-system-helpers       1.22
ii  lsb-base                  4.1+Debian13+nmu1
ii  postgresql-client-common  165+deb8u2
ii  procps                    2:3.3.9-9
ii  ssl-cert                  1.0.35
ii  ucf                       3.0030

Versions of packages postgresql-common recommends:
ii  logrotate  3.8.7-1+b1

postgresql-common suggests no packages.

-- 
Johan Fleury
PGP Key ID : 0x5D404386805E56E6

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-postgresql-public/attachments/20170227/3f1f73f4/attachment.sig>


More information about the Pkg-postgresql-public mailing list