[Bug 1734285] Re: unattended-upgrades.service ignores (changes in) /etc/apt/preferences.d/ files

Balint Reczey balint.reczey at canonical.com
Sat Dec 9 15:15:16 UTC 2017


Files in /etc/apt/preferences.d/ are read when unattended-upgrade is run and not when u-u.service is started thus it is safe to assume that configuration changes take place without restarting u-u.service.
On the other hand there are cases when u-u does not respect pinning like the one reported here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838920
Are all the repositories trusted on the affected systems?


** Changed in: unattended-upgrades (Ubuntu)
       Status: New => Incomplete

** Bug watch added: Debian Bug tracker #838920
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838920

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to unattended-upgrades in Ubuntu.
https://bugs.launchpad.net/bugs/1734285

Title:
  unattended-upgrades.service ignores (changes in)
  /etc/apt/preferences.d/ files

Status in unattended-upgrades package in Ubuntu:
  Incomplete

Bug description:
  unattended-upgrades.service ignores (changes in)
  /etc/apt/preferences.d/ files that are done after the service has
  started.

  For example we 'pin' firefox on to a specific version and if a
  configuration file is placed after the service is started, the pinning
  is ignored. In our sitation that results in a newer firefox then we
  want at this moment.

  We run Ubuntu on 2000+ workstations and our users often start a
  workstation and let it run for days/weeks before rebooting and thus
  restarting the service unattended-upgrades again.

  I did not test if changes in other apt files are ignored also.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1734285/+subscriptions



More information about the foundations-bugs mailing list