[ubuntu/xenial-proposed] unattended-upgrades 0.90ubuntu0.5 (Accepted)
Louis Bouchard
louis at ubuntu.com
Thu Apr 27 22:43:05 UTC 2017
unattended-upgrades (0.90ubuntu0.5) xenial; urgency=medium
* Complete the solution for the unattended-upgrades.service unit not
correctly working (LP: #1654600):
- d/rules : Remove the override_dh_installinit. The stop option is no longer
available so the command falls back to default. This is the normal
behavior so the override is not required
- d/unattended-upgrades.init : Add Default-Start runlevels, otherwise the
unattended-upgrades.service unit cannot be enabled on boot
- d/postinst : Cleanup the stop symlinks created by the wrong
override_dh_installinit. Without that, the systemd unit cannot be
enabled correctly.
Force disable the service before deb-systemd-helper runs so the old
symlink is not left dangling (workaround for Debian Bug #797108).
Force enable and start of the systemd unit to work around Debian Bug #797108
which fails to enable systemd units correctly when WantedBy= statement
is changed which is the case here.
Both systemctl enable AND start are needed as enable --now fails on
Xenial.
- d/unattended-upgrades.service : Fix the service so it runs correctly on
shutdown :
Remove DefaultDependencies=no : Breaks normal shutdown dependencies
Set After= to network.target and local-fs.target. Since our service is
now ExecStop, it will run before network and local-fs become unavailable.
Add RequiresMountsFor=/var/log /var/run /var/lib /boot : Necessary if
/var is a separate file system. Set WantedBy= to multi-user.target
- Add DEP8 tests to verify the following :
Verify that the unattended-upgrades.service unit is enabled and started.
Verify that InstallOnShutdown works when configured.
Date: Fri, 21 Apr 2017 16:47:52 +0200
Changed-By: Louis Bouchard <louis at ubuntu.com>
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
https://launchpad.net/ubuntu/+source/unattended-upgrades/0.90ubuntu0.5
-------------- next part --------------
Format: 1.8
Date: Fri, 21 Apr 2017 16:47:52 +0200
Source: unattended-upgrades
Binary: unattended-upgrades
Architecture: source
Version: 0.90ubuntu0.5
Distribution: xenial
Urgency: medium
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Changed-By: Louis Bouchard <louis at ubuntu.com>
Description:
unattended-upgrades - automatic installation of security upgrades
Launchpad-Bugs-Fixed: 1654600
Changes:
unattended-upgrades (0.90ubuntu0.5) xenial; urgency=medium
.
* Complete the solution for the unattended-upgrades.service unit not
correctly working (LP: #1654600):
- d/rules : Remove the override_dh_installinit. The stop option is no longer
available so the command falls back to default. This is the normal
behavior so the override is not required
- d/unattended-upgrades.init : Add Default-Start runlevels, otherwise the
unattended-upgrades.service unit cannot be enabled on boot
- d/postinst : Cleanup the stop symlinks created by the wrong
override_dh_installinit. Without that, the systemd unit cannot be
enabled correctly.
Force disable the service before deb-systemd-helper runs so the old
symlink is not left dangling (workaround for Debian Bug #797108).
Force enable and start of the systemd unit to work around Debian Bug #797108
which fails to enable systemd units correctly when WantedBy= statement
is changed which is the case here.
Both systemctl enable AND start are needed as enable --now fails on
Xenial.
- d/unattended-upgrades.service : Fix the service so it runs correctly on
shutdown :
Remove DefaultDependencies=no : Breaks normal shutdown dependencies
Set After= to network.target and local-fs.target. Since our service is
now ExecStop, it will run before network and local-fs become unavailable.
Add RequiresMountsFor=/var/log /var/run /var/lib /boot : Necessary if
/var is a separate file system. Set WantedBy= to multi-user.target
- Add DEP8 tests to verify the following :
Verify that the unattended-upgrades.service unit is enabled and started.
Verify that InstallOnShutdown works when configured.
Checksums-Sha1:
5634397f800b80b8f6b5e1ebd39f39859f3b2b75 1881 unattended-upgrades_0.90ubuntu0.5.dsc
5fa354f425919b37cf7cc5da143a7bdd3d843bac 89104 unattended-upgrades_0.90ubuntu0.5.tar.xz
Checksums-Sha256:
55bc105c5640137b16c2b626cedcfc1c9d57dc13f006846e84f156b6cb518eb0 1881 unattended-upgrades_0.90ubuntu0.5.dsc
718b98028f9f312313908e1f4bbaef7dbd30a9640266b7352d99c28d4521989a 89104 unattended-upgrades_0.90ubuntu0.5.tar.xz
Files:
94b45ac86a694533cd5b7cfe1a029478 1881 admin optional unattended-upgrades_0.90ubuntu0.5.dsc
5ae1435e200d2ed1935e87d6c88ce4b0 89104 admin optional unattended-upgrades_0.90ubuntu0.5.tar.xz
Original-Maintainer: Michael Vogt <mvo at debian.org>
More information about the Xenial-changes
mailing list