Re: [GENERAL] pg on Debian servers - Mailing list pgsql-general

From Jan Claeys
Subject Re: [GENERAL] pg on Debian servers
Date
Msg-id 1510418459.21117.112.camel@janc.be
Whole thread Raw
In response to Re: [GENERAL] pg on Debian servers  (Mark Morgan Lloyd <markMLl.pgsql-general@telemetry.co.uk>)
Responses Re: [GENERAL] pg on Debian servers
List pgsql-general
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


-- 
Jan Claeys



-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: Mark Morgan Lloyd
Date:
Subject: Re: [GENERAL] pg on Debian servers
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] Difference between CAST(v AS t) and v::t