Re: pg on Debian servers
Mark Morgan Lloyd <markmll.pgsql-general@telemetry.co.uk>
From: Mark Morgan Lloyd <markMLl.pgsql-general@telemetry.co.uk>
To: pgsql-general@PostgreSQL.org
Date: 2017-11-11T17:29:27Z
Lists: pgsql-general
On 11/11/17 16:45, Jan Claeys wrote: > On Sat, 2017-11-11 at 14:23 +0000, Mark Morgan Lloyd wrote: >> I think that the "preventing upgrades" route is the one to follow, >> since inhibiting the restart would obviously present a risk that >> something loaded dynamically could get out of step. As an at least >> temporary hack I've disabled unattended updates using >> >> # systemctl disable unattended-upgrades.service > > Unattended-upgrades is configurable and allows whitelisting package > origins, as well as blacklisting packages so that they never get > upgraded automatically (you can still upgrade them manually, of > course). > > See /etc/apt/apt.conf.d/50unattended-upgrades (the default version of > that file includes documentation as comments). > > Also see the unattended-upgrade(8) manpage, and the on/off switch in > /etc/apt/apt.conf.d/20auto-upgrades Thanks Jan, noted. I was, of course, working to a fairly traditional priority: get things running again, whine for a few hours, and only later implement a proper fix :-) -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]