Re: Question on Unattended Upgrades

2020-05-13 Thread Marco Möller
On 12.05.20 07:25, Keifer Bly wrote: Is there a way to configure it to automatically restart when a package that needs to be restarted is upgraded? Thx. Restarting might not be needed at all if applying some "live patching" mechanism. It might not be helpful for you, but I thought to mention i

Re: Question on Unattended Upgrades

2020-05-13 Thread l0f4r0
Hi, 13 mai 2020 à 06:39 de keifer@gmail.com: > I am not backing this machine up to a physical drive, it is a VPS, so being > hosted in the cloud and all. We are not dealing with databases, but just > pushing traffic between nodes, etc. They strongly advise be running both the > most secure

Re: Question on Unattended Upgrades

2020-05-13 Thread Gene Heskett
On Wednesday 13 May 2020 03:53:36 l0f...@tuta.io wrote: > Hi, > > 13 mai 2020 à 06:39 de keifer@gmail.com: > > I am not backing this machine up to a physical drive, it is a VPS, > > so being hosted in the cloud and all. We are not dealing with > > databases, but just pushing traffic between no

Re: Question on Unattended Upgrades

2020-05-12 Thread Gene Heskett
On Tuesday 12 May 2020 22:49:48 Tom Dial wrote: > On 5/12/20 09:05, Gene Heskett wrote: > > On Tuesday 12 May 2020 10:30:04 Celejar wrote: > >> On Tue, 12 May 2020 06:03:52 -0400 > >> > >> Gene Heskett wrote: > >>> On Tuesday 12 May 2020 05:07:04 l0f...@tuta.io wrote: > Hi, > > 12

Re: Question on Unattended Upgrades

2020-05-12 Thread Keifer Bly
I am not backing this machine up to a physical drive, it is a VPS, so being hosted in the cloud and all. We are not dealing with databases, but just pushing traffic between nodes, etc. They strongly advise be running both the most secure version of the OS and their software at all times, that's why

Re: Question on Unattended Upgrades

2020-05-12 Thread Tom Dial
On 5/12/20 09:05, Gene Heskett wrote: > On Tuesday 12 May 2020 10:30:04 Celejar wrote: > >> On Tue, 12 May 2020 06:03:52 -0400 >> >> Gene Heskett wrote: >>> On Tuesday 12 May 2020 05:07:04 l0f...@tuta.io wrote: Hi, 12 mai 2020 à 08:22 de keifer@gmail.com: > Is there a wa

Re: Question on Unattended Upgrades

2020-05-12 Thread Keifer Bly
Right, so according to i0f...@tutra.io's advice, I changed the line " 'Unattended-Upgrade::Automatic-Reboot "false" to 'Unattended-Upgrade::Automatic-Reboot "true" in /etc/apt/apt.conf.d/50unattended-upgrades. Upon checking /etc/apt/apt.conf.d/20auto-upgrades I see the lines: APT::Periodic::Up

Re: Question on Unattended Upgrades

2020-05-12 Thread l0f4r0
Hi, 12 mai 2020 à 23:44 de cov...@ccs.covici.com: > Hmmm, I looked in man apt.conf and for the periodic options it said to > look in /usr/lib/apt/apt.systemd.daily and that script does not > mention the option you mentioned. Is there some other place I should > look for its description? > APT::P

Re: Question on Unattended Upgrades

2020-05-12 Thread John Covici
Hmmm, I looked in man apt.conf and for the periodic options it said to look in /usr/lib/apt/apt.systemd.daily and that script does not mention the option you mentioned. Is there some other place I should look for its description? On Tue, 12 May 2020 16:47:33 -0400, David Wright wrote: > > On Tu

Re: Question on Unattended Upgrades

2020-05-12 Thread David Wright
On Tue 12 May 2020 at 15:14:51 (-0400), John Covici wrote: > To get back to the topic -- I have unattended updates set supposedly, > but they do nothing. > > Here are the relevant files from my apt.conf.d directory > > 20-auto-upgrades > apt::periodic::unattended-upgrade "1"; > > Here is my 50-u

Re: Question on Unattended Upgrades

2020-05-12 Thread John Covici
To get back to the topic -- I have unattended updates set supposedly, but they do nothing. Here are the relevant files from my apt.conf.d directory 20-auto-upgrades apt::periodic::unattended-upgrade "1"; Here is my 50-unattended-upgrades // Unattended-Upgrade::Origins-Pattern controls which pac

Re: Question on Unattended Upgrades

2020-05-12 Thread David Wright
On Tue 12 May 2020 at 07:48:49 (-0400), rhkra...@gmail.com wrote: > On Tuesday, May 12, 2020 02:22:13 AM Keifer Bly wrote: > > Is there a way to configure it to automatically restart when a package that > > needs to be restarted is upgraded? Thx. > > If there is a comand named "needrestart" (I don

Re: Question on Unattended Upgrades

2020-05-12 Thread Celejar
On Tue, 12 May 2020 11:05:55 -0400 Gene Heskett wrote: > On Tuesday 12 May 2020 10:30:04 Celejar wrote: > > > On Tue, 12 May 2020 06:03:52 -0400 > > > > Gene Heskett wrote: > > > On Tuesday 12 May 2020 05:07:04 l0f...@tuta.io wrote: > > > > Hi, > > > > > > > > 12 mai 2020 à 08:22 de keifer@

Re: Question on Unattended Upgrades

2020-05-12 Thread Gene Heskett
On Tuesday 12 May 2020 10:30:04 Celejar wrote: > On Tue, 12 May 2020 06:03:52 -0400 > > Gene Heskett wrote: > > On Tuesday 12 May 2020 05:07:04 l0f...@tuta.io wrote: > > > Hi, > > > > > > 12 mai 2020 à 08:22 de keifer@gmail.com: > > > > Is there a way to configure it to automatically restart

Re: Question on Unattended Upgrades

2020-05-12 Thread Celejar
On Tue, 12 May 2020 06:03:52 -0400 Gene Heskett wrote: > On Tuesday 12 May 2020 05:07:04 l0f...@tuta.io wrote: > > > Hi, > > > > 12 mai 2020 à 08:22 de keifer@gmail.com: > > > Is there a way to configure it to automatically restart when a > > > package that needs to be restarted is upgraded?

Re: Question on Unattended Upgrades

2020-05-12 Thread John Hasler
Keifer Bly writes: > I am wondering, does the OS need to be restarted for the upgrade to > take effect? Only if the kernel was upgraded. > What file would I check to make sure the unattended upgrades is > working and the packages it updated? >From the man page: All operations are logged to /va

Re: Question on Unattended Upgrades

2020-05-12 Thread Reco
Hi. On Tue, May 12, 2020 at 07:48:49AM -0400, rhkra...@gmail.com wrote: > On Tuesday, May 12, 2020 02:22:13 AM Keifer Bly wrote: > > Is there a way to configure it to automatically restart when a package that > > needs to be restarted is upgraded? Thx. > > If there is a comand named "need

Re: Question on Unattended Upgrades

2020-05-12 Thread Greg Wooledge
On Tue, May 12, 2020 at 07:48:49AM -0400, rhkra...@gmail.com wrote: > On Tuesday, May 12, 2020 02:22:13 AM Keifer Bly wrote: > > Is there a way to configure it to automatically restart when a package that > > needs to be restarted is upgraded? Thx. > > If there is a comand named "needrestart" (I d

Re: Question on Unattended Upgrades

2020-05-12 Thread rhkramer
On Tuesday, May 12, 2020 02:22:13 AM Keifer Bly wrote: > Is there a way to configure it to automatically restart when a package that > needs to be restarted is upgraded? Thx. If there is a comand named "needrestart" (I don't see it on my Wheezy system), then presumably a (bash?) script could be w

Re: Question on Unattended Upgrades

2020-05-12 Thread l0f4r0
Hi, 12 mai 2020 à 12:03 de ghesk...@shentel.net: > I can see a major disaster in the making, what if that reboot was > commanded in the middle of your nightly backup run, leaving your backup > program with a totally bogus database it cannot recover from? > > Frankly the update shouldn't be allo

Re: Question on Unattended Upgrades

2020-05-12 Thread Gene Heskett
On Tuesday 12 May 2020 05:07:04 l0f...@tuta.io wrote: > Hi, > > 12 mai 2020 à 08:22 de keifer@gmail.com: > > Is there a way to configure it to automatically restart when a > > package that needs to be restarted is upgraded? > > I think 'Unattended-Upgrade::Automatic-Reboot "true";' should do i

Re: Question on Unattended Upgrades

2020-05-12 Thread l0f4r0
Hi, 12 mai 2020 à 08:22 de keifer@gmail.com: > Is there a way to configure it to automatically restart when a package that > needs to be restarted is upgraded? > I think 'Unattended-Upgrade::Automatic-Reboot "true";' should do it in  /etc/apt/apt.conf.d/50unattended-upgrades. If I were you,

Re: Question on Unattended Upgrades

2020-05-11 Thread Keifer Bly
Is there a way to configure it to automatically restart when a package that needs to be restarted is upgraded? Thx. --Keifer On Mon, May 11, 2020 at 11:14 PM Charles Curley < charlescur...@charlescurley.com> wrote: > On Tue, 12 May 2020 11:54:48 +0700 > Victor Sudakov wrote: > > > > Does the OS

Re: Question on Unattended Upgrades

2020-05-11 Thread Charles Curley
On Tue, 12 May 2020 11:54:48 +0700 Victor Sudakov wrote: > > Does the OS need to be restarted for this to take effect? Thx. > > That depends. If the kernel has been upgraded, then probably yes. > > If some daemon has been upgraded, it could be enough to restart the > daemon (or does apt rest

Re: Re: Question on Unattended Upgrades

2020-05-11 Thread Keifer Bly
Is there a way to configure it to automatically restart when a package that needs to be restarted is upgraded? Thx. --Keifer Virus-free. www.avast.com

Re: Re: Question on Unattended Upgrades

2020-05-11 Thread Victor Sudakov
Keifer Bly wrote: >So upon doing that, I am seeing this: Please don't use graphics where you could have shown plain text. Not everyone here is using a graphical mail client. > >Does this mean it is updating these automatically? Look for lines matching "Commandline: /usr/bin/unattended-

Re: Question on Unattended Upgrades

2020-05-11 Thread Victor Sudakov
Keifer Bly wrote: > What file would > I check to make sure the unattended upgrades is working and the > packages it updated? Thanks. I look for lines matching "Commandline: /usr/bin/unattended-upgrade" in /var/log/apt/history.log, but there may be a better approach. -- Victor Sudakov, VAS4-RIP