Package: postgresql-9.5 Version: 9.5.3-1 Severity: normal File: postgresql Dear Maintainer,
on boot postgresql server should have openvpn (or any other VPN server) loaded and ready before starting postgresql server. if postgresql server is listening on a vpn device (tun, tap) and if this device does not exist (because the vpn server is not started yet), the postgresql server starts but it listens only on the available devices/sockets. probably adding "openvpn" into Required-Start: of /etc/init.d/postgresql should do the trick (but I have no box without openvpn) michal -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=sk_SK.utf8, LC_CTYPE=sk_SK.utf8 (charmap=UTF-8) (ignored: LC_ALL set to sk_SK.utf8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages postgresql-9.5 depends on: ii libc6 2.23-4 ii libgssapi-krb5-2 1.14.3+dfsg-1 ii libldap-2.4-2 2.4.42+dfsg-2+b2 ii libpam0g 1.1.8-3.3 ii libpq5 9.5.3-1 ii libssl1.0.2 1.0.2h-1 ii libxml2 2.9.4+dfsg1-1 ii locales 2.23-4 ii postgresql-client-9.5 9.5.3-1 ii postgresql-common 175 ii ssl-cert 1.0.38 ii tzdata 2016f-1 Versions of packages postgresql-9.5 recommends: ii postgresql-contrib-9.5 9.5.3-1 ii sysstat 11.3.5-1 Versions of packages postgresql-9.5 suggests: pn locales-all <none> -- no debconf information