Package: postgresql-13 Version: 13.4-0+deb11u1 Severity: normal Dear Maintainer,
postgresql@13-main service wasn't restarted after an automatic upgrade which was performed by unattended-upgrades. It looks like the postgresql@13-main service is stopped (via db_stop) and then "invoke-rc.d postgresql restart $VERSION" is called (from configure_version function used in /usr/share/postgresql-common/maintscripts-functions by /var/lib/dpkg/info/postgresql-13.postinst), but the invoke-rc.d command doesn't restart the postgresql@13-main service. Logs: Oct 11 06:17:41 sable systemd[1]: Starting Daily apt upgrade and clean activities... Oct 11 06:18:21 sable systemd[1]: Stopping PostgreSQL Cluster 13-main... Oct 11 06:18:21 sable systemd[1]: postgresql@13-main.service: Succeeded. Oct 11 06:18:21 sable systemd[1]: Stopped PostgreSQL Cluster 13-main. Oct 11 06:18:21 sable systemd[1]: postgresql@13-main.service: Consumed 12h 38min 5.395s CPU time. Oct 11 06:18:22 sable systemd[1]: Reloading. Oct 11 06:18:39 sable ntpd[1175]: ntpd exiting on signal 15 (Terminated) Oct 11 06:18:39 sable systemd[1]: Stopping Network Time Service... Oct 11 06:18:39 sable systemd[1]: ntp.service: Succeeded. Oct 11 06:18:39 sable systemd[1]: Stopped Network Time Service. Oct 11 06:18:39 sable systemd[1]: ntp.service: Consumed 2min 30.313s CPU time. Oct 11 06:18:40 sable systemd[1]: Starting Network Time Service... [...] Oct 11 06:18:40 sable systemd[1]: Started Network Time Service. Oct 11 06:19:13 sable systemd[1]: apt-daily-upgrade.service: Succeeded. Oct 11 06:19:13 sable systemd[1]: Finished Daily apt upgrade and clean activities. Oct 11 06:19:13 sable systemd[1]: apt-daily-upgrade.service: Consumed 1min 29.098s CPU time. /var/log/unattended-upgrades/unattended-upgrades.log 2021-10-11 06:17:42,501 INFO Starting unattended upgrades script 2021-10-11 06:17:42,502 INFO Allowed origins are: origin=Debian,codename=bullseye,label=Debian, origin=Debian,codename=bullseye,label=Debian-Security, origin=Debian,codename=bullseye-security,label=Debian-Security 2021-10-11 06:17:42,502 INFO Initial blacklist: 2021-10-11 06:17:42,503 INFO Initial whitelist (not strict): 2021-10-11 06:17:47,797 INFO Packages that will be upgraded: base-files devscripts krb5-locales libapr1 libc-bin libc-dev-bin libc-l10n libc6 libc6-dev libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0 libpam-modules libpam-modules-bin libpam-runtime libpam0g libperl5.32 libpmem1 libpq5 libslirp0 linux-image-amd64 linux-libc-dev locales perl perl-base perl-modules-5.32 postgresql-13 postgresql-client-13 python3-reportbug reportbug tzdata 2021-10-11 06:17:47,797 INFO Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log 2021-10-11 06:19:07,933 INFO All upgrades installed 2021-10-11 06:19:12,960 INFO Packages that were successfully auto-removed: linux-image-4.19.0-14-amd64 2021-10-11 06:19:12,960 INFO Packages that are kept back: /var/log/unattended-upgrades/unattended-upgrades-dpkg.log Log started: 2021-10-11 06:18:18 apt-listchanges: Reading changelogs... Preconfiguring packages ... apt-listchanges: Reading changelogs... Preconfiguring packages ... (Reading database ... ^M(Reading database ... 5%^M(Reading database ... 10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading database ... 25%^M(Reading database ... 30%^M(Reading database ... 35%^M(Reading database ... 40%^M(Reading database ... 45%^M(Reading database ... 50%^M(Reading database ... 55%^M(Reading database ... 60%^M(Reading database ... 65%^M(Reading database ... 70%^M(Reading database ... 75%^M(Reading database ... 80%^M(Reading database ... 85%^M(Reading database ... 90%^M(Reading database ... 95%^M(Reading database ... 100%^M(Reading database ... 58544 files and directories currently installed.)^M Preparing to unpack .../postgresql-13_13.4-0+deb11u1_amd64.deb ...^M Unpacking postgresql-13 (13.4-0+deb11u1) over (13.3-1) ...^M Setting up postgresql-13 (13.4-0+deb11u1) ...^M Processing triggers for postgresql-common (225) ...^M Building PostgreSQL dictionaries from installed myspell/hunspell packages...^M Removing obsolete dictionary files:^M Log ended: 2021-10-11 06:18:23 -- System Information: Debian Release: 11.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-8-amd64 (SMP w/16 CPU threads) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages postgresql-13 depends on: ii debconf [debconf-2.0] 1.5.77 ii libc6 2.31-13+deb11u2 ii libgcc-s1 10.2.1-6 ii libgssapi-krb5-2 1.18.3-6+deb11u1 ii libicu67 67.1-7 ii libldap-2.4-2 2.4.57+dfsg-3 ii libllvm11 1:11.0.1-2 ii libpam0g 1.4.0-9+deb11u1 ii libpq5 13.4-0+deb11u1 ii libselinux1 3.1-3 ii libssl1.1 1.1.1k-1+deb11u1 ii libstdc++6 10.2.1-6 ii libsystemd0 247.3-6 ii libuuid1 2.36.1-8 ii libxml2 2.9.10+dfsg-6.7 ii libxslt1.1 1.1.34-4 ii locales 2.31-13+deb11u2 ii postgresql-client-13 13.4-0+deb11u1 ii postgresql-common 225 ii ssl-cert 1.1.0+nmu1 ii tzdata 2021a-1+deb11u1 ii zlib1g 1:1.2.11.dfsg-2 Versions of packages postgresql-13 recommends: pn sysstat <none> postgresql-13 suggests no packages. -- debconf information excluded