[ubuntu/bionic-proposed] unattended-upgrades 1.1ubuntu1.18.04.7 (Accepted)

Balint Reczey rbalint at ubuntu.com
Mon Nov 26 17:27:55 UTC 2018


unattended-upgrades (1.1ubuntu1.18.04.7) bionic; urgency=medium

  * Trigger unattended-upgrade-shutdown actions with PrepareForShutdown()
    Performing upgrades in service's ExecStop did not work when the upgrades
    involved restarting services because systemd blocked other stop/start
    actions making maintainer scripts time out and be killed leaving a broken
    system behind.
    Running unattended-upgrades.service before shutdown.target as a oneshot
    service made it run after unmounting filesystems and scheduling services
    properly on shutdown is a complex problem and adding more services to the
    mix make it even more fragile.
    The solution of monitoring PrepareForShutdown() signal from DBus
    allows Unattended Upgrade to run _before_ the jobs related to shutdown are
    queued thus package upgrades can safely restart services without
    risking causing deadlocks or breaking part of the shutdown actions.
    Also ask running unattended-upgrades to stop when shutdown starts even in
    InstallOnShutdown mode and refactor most of unattended-upgrade-shutdown to
    UnattendedUpgradesShutdown class. (LP: #1778219)
  * Increase logind's InhibitDelayMaxSec to 30s. (LP: #1778219)
    This allows more time for unattended-upgrades to shut down gracefully
    or even install a few packages in InstallOnShutdown mode, but is still a
    big step back from the 30 minutes allowed for InstallOnShutdown previously.
    Users enabling InstallOnShutdown node are advised to increase
    InhibitDelayMaxSec even further possibly to 30 minutes.
    - Add NEWS entry about increasing InhibitDelayMaxSec and InstallOnShutdown
      changes
  * Ignore "W503 line break before binary operator"
    because it will become the best practice and breaks the build
  * Stop using ActionGroups, they interfere with apt.Cache.clear()
    causing all autoremovable packages to be handled as newly autoremovable
    ones and be removed by default. Dropping ActionGroup usage does not slow
    down the most frequent case of not having anything to upgrade and when
    there are packages to upgrade the gain is small compared to the actual
    package installation.
    Also collect autoremovable packages before adjusting candidates because that
    also changed .is_auto_removable attribute of some of them. (LP: #1803749)
    (Closes: #910874)

Date: Mon, 26 Nov 2018 13:37:47 +0100
Changed-By: Balint Reczey <rbalint at ubuntu.com>
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
https://launchpad.net/ubuntu/+source/unattended-upgrades/1.1ubuntu1.18.04.7
-------------- next part --------------
Format: 1.8
Date: Mon, 26 Nov 2018 13:37:47 +0100
Source: unattended-upgrades
Binary: unattended-upgrades
Architecture: source
Version: 1.1ubuntu1.18.04.7
Distribution: bionic
Urgency: medium
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Changed-By: Balint Reczey <rbalint at ubuntu.com>
Description:
 unattended-upgrades - automatic installation of security upgrades
Closes: 910874
Launchpad-Bugs-Fixed: 1778219 1803749
Changes:
 unattended-upgrades (1.1ubuntu1.18.04.7) bionic; urgency=medium
 .
   * Trigger unattended-upgrade-shutdown actions with PrepareForShutdown()
     Performing upgrades in service's ExecStop did not work when the upgrades
     involved restarting services because systemd blocked other stop/start
     actions making maintainer scripts time out and be killed leaving a broken
     system behind.
     Running unattended-upgrades.service before shutdown.target as a oneshot
     service made it run after unmounting filesystems and scheduling services
     properly on shutdown is a complex problem and adding more services to the
     mix make it even more fragile.
     The solution of monitoring PrepareForShutdown() signal from DBus
     allows Unattended Upgrade to run _before_ the jobs related to shutdown are
     queued thus package upgrades can safely restart services without
     risking causing deadlocks or breaking part of the shutdown actions.
     Also ask running unattended-upgrades to stop when shutdown starts even in
     InstallOnShutdown mode and refactor most of unattended-upgrade-shutdown to
     UnattendedUpgradesShutdown class. (LP: #1778219)
   * Increase logind's InhibitDelayMaxSec to 30s. (LP: #1778219)
     This allows more time for unattended-upgrades to shut down gracefully
     or even install a few packages in InstallOnShutdown mode, but is still a
     big step back from the 30 minutes allowed for InstallOnShutdown previously.
     Users enabling InstallOnShutdown node are advised to increase
     InhibitDelayMaxSec even further possibly to 30 minutes.
     - Add NEWS entry about increasing InhibitDelayMaxSec and InstallOnShutdown
       changes
   * Ignore "W503 line break before binary operator"
     because it will become the best practice and breaks the build
   * Stop using ActionGroups, they interfere with apt.Cache.clear()
     causing all autoremovable packages to be handled as newly autoremovable
     ones and be removed by default. Dropping ActionGroup usage does not slow
     down the most frequent case of not having anything to upgrade and when
     there are packages to upgrade the gain is small compared to the actual
     package installation.
     Also collect autoremovable packages before adjusting candidates because that
     also changed .is_auto_removable attribute of some of them. (LP: #1803749)
     (Closes: #910874)
Checksums-Sha1:
 7323a176b4aa67f3e9db1700e66dd227e10f45e3 2040 unattended-upgrades_1.1ubuntu1.18.04.7.dsc
 f799ada7046d31b4fbb06a82eec69de5bbef16b2 104688 unattended-upgrades_1.1ubuntu1.18.04.7.tar.xz
 aad3cce154ec0a51a7b63f354dbcdae614728c02 8183 unattended-upgrades_1.1ubuntu1.18.04.7_source.buildinfo
Checksums-Sha256:
 8fb925334169214d94d101470e76585ac65009b7ffe483555d4807fd85fa0870 2040 unattended-upgrades_1.1ubuntu1.18.04.7.dsc
 75d2d5375f18f0b627793911774afcdc3aef92c1ec044c8bb6eabaac18f18b0b 104688 unattended-upgrades_1.1ubuntu1.18.04.7.tar.xz
 9246160a5e1f6c31dc68ab2013ba4b8c84f6ea506a0a4843efffdb24eae343d9 8183 unattended-upgrades_1.1ubuntu1.18.04.7_source.buildinfo
Files:
 6e3ff9416a04c8e58af2a7501f96ac01 2040 admin optional unattended-upgrades_1.1ubuntu1.18.04.7.dsc
 ad61c587884061caa27b1b15cb91eb9a 104688 admin optional unattended-upgrades_1.1ubuntu1.18.04.7.tar.xz
 69d77cbbdd180463590e74172a688d0e 8183 admin optional unattended-upgrades_1.1ubuntu1.18.04.7_source.buildinfo
Original-Maintainer: Michael Vogt <mvo at debian.org>


More information about the Bionic-changes mailing list