[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: unattended-upgrades by default?



On Fri, Nov 04, 2016 at 02:56:59PM +0100, Jonas Smedegaard wrote:
> Quoting Guido Günther (2016-11-04 12:26:51)
> > We should also enable needsrestart, whatmaps, checkrestart or similar 
> > to restart affected services after these upgrades otherwise the e.g. 
> > openssl update might go without effect until openssh, bind, 
> > <younameit> get restarted manually or rebooted.
> 
> needrestart (notice: only one "s") works out of the box, hooking into 
> APT by scanning after each APT run and emitting warnings both in APT 
> session and (with needrestart-session installed) in X11 user session.

I meant needrestart and looks like the most featurefull of the three.

> 
> checkrestart is in package debian-goodies.  I don't use it but believe 
> it is not integrated with default APT package handling workflow.
> 
> I was unaware of whatmaps.  Thanks for promoting that, Guido.  Seems 
> from its package description that it doesn't integrate with APT out of 
> the box either - is that correct?

It integrates with apt by creating a interim restart script which is
then run automatically after the upgrade via DPkg::Pre-Install-Pkgs and
DPkg::Post-Invoke.

Cheers,
 -- Guido


Reply to: