Questions tagged [unattended-upgrades]

9 questions
4
votes
0 answers

How to make `needrestart` not defer restarting some services

With unattended-upgrades duly set up to automatically do upgrades, reboots and all, I'm stumped to find output like this in its daily report sometimes: ... Restarting services... /etc/needrestart/restart.d/systemd-manager systemctl restart…
cueedee
  • 173
  • 6
3
votes
1 answer

Best practice for unattended upgrades on immutable servers

I use packer to build immutable Ubuntu 20.04 servers. How can it work smoothly with unattended upgrades? Since the image is not bundled like it was in the past the updates do not apply to new instances. It means that when a server comes up…
Niro
  • 1,371
  • 3
  • 17
  • 35
3
votes
3 answers

How to make sure docker service will start after containerd upgrade?

this morning I woke up to a 'service down' email I have received from watchdog. After connecting to the server I have found the docker service down. After little investigation, I have found that this morning Ubuntu made an unattended upgrade of the…
Krystian
  • 286
  • 1
  • 5
  • 18
1
vote
1 answer

mailx default FROM: address

I'm setting up email alert for unattended upgrades on ubuntu 18.04. It looks like unattended-upgrades cannot set the 'FROM' address and rely on mailx. On mailx I'm using SMTP so the from address must be qualified. I get error that the from address…
Niro
  • 1,371
  • 3
  • 17
  • 35
1
vote
2 answers

apt-get upgrade vs unattended-upgrades under ubuntu 20.04

unattended-upgrades seems to skip certain upgrades, e. g. google chrome upgrade. A subsequent call of apt-get upgrade then finds and installs the ugrade. Does this mean, I must schedule apt-get upgrade in addition to my unattended-upgrades config if…
1
vote
0 answers

Is it safe to include upstream Nginx in unattended-upgrades?

My company has Nginx deployed from upstream's repositories. I would ideally like to include this repository in unattended-upgrades, but I'm concerned that this will break things at some point. I understand that this carries the risk of bugs, which…
strugee
  • 901
  • 10
  • 25
0
votes
1 answer

Cron Docker container not rebooting properly after unattended upgrades

Disclaimer, I have very little experience with Docker and servers in general. Most of the server-related things I do by following manuals created by former employees and a lot of Googling. We are using Docker swarm to manage updates to our Docker…
0
votes
0 answers

Windows 10 1909 OS Corruption Preventing Further Updates

We have multiple computers on the domain which have corruption within the OS. This corruption prevents the install of updates or upgrades. I know the computers which have issues from the results of the command DISM /online /cleanup-image /scanhealth…
RLBChrisBriant
  • 493
  • 1
  • 6
  • 20
0
votes
1 answer

`unattended-upgrades` seemingly fails to do `apt-get update` first

I have unattended-upgrades that won't upgrade. It's been a full month and its log is empty. So I checked manually to confirm it thinks there's nothing to upgrade. # unattended-upgrades --dry-run --debug Initial blacklist : Initial whitelist:…
mehov
  • 568
  • 1
  • 5
  • 14