[ubuntu/artful-proposed] unattended-upgrades 0.96ubuntu1 (Accepted)
Balint Reczey
rbalint at ubuntu.com
Mon Sep 4 17:26:11 UTC 2017
unattended-upgrades (0.96ubuntu1) artful; urgency=low
* Merge from Debian unstable (LP: #1714019)
- Remaining changes:
- Recover from broken dh_installinit override in versions < 0.93.1ubuntu3
- unattended-upgrades: Do not automatically upgrade the development
release of Ubuntu unless Unattended-Upgrade::DevRelease is true.
- Dropped changes, included in Debian:
- Cherry-pick 2e5deed, f26edb4 from upstream to add support for a
--download-only option, enabling us to download updates at a random
time of day by default but apply them predictably in the 6am-7am
window.
- Fix PEP8 failures (replace except: with except Exception:)
- unattended-upgrades: Provide some information and create a log entry
when there is a failure to parse the allowed origins.
- Add UbuntuESM to the list of sources automatically upgraded from by
default.
- Complete the solution for the unattended-upgrades.service unit not
correctly working
- 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.
- 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.
- The systemd unit needs to be an ExecStop since it is is activated on
shutdown. Otherwise, it will get scheduled after completion of
the local-fs.target. In the case where /var is a separate
filesystem, unattended-upgrade-shutdown will hang until timeout
since /var/run is expected but no longer there
- When performing a sanity check for packages to install or upgrade
return false when either there are no packages in the cache or the
package to upgrade is not in the change set.
- Do not mark packages for deletion / autoremoval if unattended-upgrades
is being run in dry-run mode.
- Store delay command line option as an int not a string since we do
maths with it.
Date: Wed, 30 Aug 2017 13:46:37 +0200
Changed-By: Balint Reczey <rbalint at ubuntu.com>
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Signed-By: LocutusOfBorg <costamagnagianfranco at yahoo.it>
https://launchpad.net/ubuntu/+source/unattended-upgrades/0.96ubuntu1
-------------- next part --------------
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 30 Aug 2017 13:46:37 +0200
Source: unattended-upgrades
Binary: unattended-upgrades
Architecture: source
Version: 0.96ubuntu1
Distribution: artful
Urgency: low
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
Launchpad-Bugs-Fixed: 1714019
Changes:
unattended-upgrades (0.96ubuntu1) artful; urgency=low
.
* Merge from Debian unstable (LP: #1714019)
- Remaining changes:
- Recover from broken dh_installinit override in versions < 0.93.1ubuntu3
- unattended-upgrades: Do not automatically upgrade the development
release of Ubuntu unless Unattended-Upgrade::DevRelease is true.
- Dropped changes, included in Debian:
- Cherry-pick 2e5deed, f26edb4 from upstream to add support for a
--download-only option, enabling us to download updates at a random
time of day by default but apply them predictably in the 6am-7am
window.
- Fix PEP8 failures (replace except: with except Exception:)
- unattended-upgrades: Provide some information and create a log entry
when there is a failure to parse the allowed origins.
- Add UbuntuESM to the list of sources automatically upgraded from by
default.
- Complete the solution for the unattended-upgrades.service unit not
correctly working
- 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.
- 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.
- The systemd unit needs to be an ExecStop since it is is activated on
shutdown. Otherwise, it will get scheduled after completion of
the local-fs.target. In the case where /var is a separate
filesystem, unattended-upgrade-shutdown will hang until timeout
since /var/run is expected but no longer there
- When performing a sanity check for packages to install or upgrade
return false when either there are no packages in the cache or the
package to upgrade is not in the change set.
- Do not mark packages for deletion / autoremoval if unattended-upgrades
is being run in dry-run mode.
- Store delay command line option as an int not a string since we do
maths with it.
Checksums-Sha1:
64892eee470001aff021c05b21883567df45254d 1896 unattended-upgrades_0.96ubuntu1.dsc
97f87476fc2341c26ad7349fdddcf57951c11808 92984 unattended-upgrades_0.96ubuntu1.tar.xz
43667e493a9d2d614d9831b20b290d9ddd0a3308 5029 unattended-upgrades_0.96ubuntu1_source.buildinfo
Checksums-Sha256:
6426c8261dcf785989f2b27621d735e4a92da7406768ff3e727cc322aa2de1d6 1896 unattended-upgrades_0.96ubuntu1.dsc
f407f80063289b448c8cd2ff50a5cc004e6ba0585c2fdc0f6286cfcef514217f 92984 unattended-upgrades_0.96ubuntu1.tar.xz
02283bdbb0f7d7880591553fd915dac53423c633756db6923410b6fc860ec8ac 5029 unattended-upgrades_0.96ubuntu1_source.buildinfo
Files:
1c7045dec2d89789b793bed685d2f8d9 1896 admin optional unattended-upgrades_0.96ubuntu1.dsc
201b3e688fb906f466da45c63c62385d 92984 admin optional unattended-upgrades_0.96ubuntu1.tar.xz
925c4c6485c9b8d9281b9c301c7a4890 5029 admin optional unattended-upgrades_0.96ubuntu1_source.buildinfo
Original-Maintainer: Michael Vogt <mvo at debian.org>
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCAAGBQJZrYyMAAoJEPNPCXROn13ZhPAQANt0nwWtHF9e+RgbyWTOWVx1
9ipJDJNRSQiw/1ZBbXhl3JoEWPwcQXgLBpVcM1jsRgBxsaXMn+qpPgfYjvlu1ngH
ea+uB5UMtlpLZGdM+tcYaqCKZkzb/uf7MpKrP+cKv/ezlWKO7eDsHJp4+ln33ptb
0tYnZMsXGu8JgT938ureUN/xMiEwtjLYJWucH30HQygo/EzijhHhyhWGCVB6HPIg
b3SeCehvEbGLGB1FoRGd+K4ir1Ku2IkB7/7yVQIzc3j9h9GZKq0mwCGPDR7WQCRE
au7qm9AQm62QAVmPHYq2XfqL5HYWoAnq9IYxdpZKj9ampgXF4jmRH5zbJWRKeXsB
/nDBcxX515w9FxsN7Y4FcQ7XCk1R4XwstONBIYcS9jFQ9L2f5UztaqOk6rEklnfp
vY4zWRS5o/m3bOd7Z+FMukE4Vx0qQoGj321T1z8JizyPDeQsbyXAB0Qalpr5Sj4a
pyH6H0hoOTAnoPY3/rv/QDmWp0qKerT2LHtVbSOG+1WXKWsr3+6+c/nUxJn+PqLw
2JPazrxZRbCqS95bmwZrJHsIV1d+EvZkBgE4WFF4Zcp8jSuxgXmVAK6OXVajYRws
xkgOaBViqtnz2kBMtQAeqHxsvvZJ9svswyt1eNx3imlhAiU6badpm5Gg3xJzPscf
bJXjwZnzlgB7dkezORfS
=Hlaw
-----END PGP SIGNATURE-----
More information about the Artful-changes
mailing list