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

Re: unattended-upgrades does not install upgrades on shutdown



Le 15/10/2019 à 14:10, Curt a écrit :
On 2019-10-15, Yvan Masson <yvan@masson-informatique.fr> wrote:

I am currently using a VM with snapshots to try to find the culprit, I
will let you know.

I could not find the culprit so I reported the bug:
https://github.com/mvo5/unattended-upgrades/issues/229


There's this (not sure if it's your issue or not):

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837155

  If /var resides on a separate file-system which is unmounted before
  unattended-upgrade-shutdown is run, it may repeatedly (by default for
  10 minutes) try to acquire it's lock-file but fail since the containing
  folder doesn't exist.

For which the fix is a file
/etc/systemd/system/unattended-upgrades.service.d/mounts.conf

containing

  [Unit]
  RequiresMountsFor=/var/log

Maybe irrelevant. Or not.

A bientôt,

C.

Thanks for the hint, but I have everything in one partition, unattended-upgrades stops just after detecting which upgrades are available, after 1 or 2 minutes.

Yvan


Reply to: