[Bug 1821103] Re: [SRU] Skip sending email when no package had to be installed, upgraded or removed
Balint Reczey
balint.reczey at canonical.com
Mon May 6 15:53:12 UTC 2019
Verified on Cosmic, Bionic and Xenial:
unattended-upgrades/1.5ubuntu3.18.10.4
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-cosmic/cosmic/amd64/u/unattended-upgrades/20190430_104715_aa4ef@/log.gz
...
Checking that no email is sent when nothing had to be done...OK
...
unattended-upgrades/1.1ubuntu1.18.04.11
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic/bionic/amd64/u/unattended-upgrades/20190430_110349_c430a@/log.gz
...
Checking that no email is sent when nothing had to be done...OK
...
unattended-upgrades/1.1ubuntu1.18.04.7~16.04.3
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-xenial/xenial/amd64/u/unattended-upgrades/20190430_113753_93138@/log.gz
...
Checking that no email is sent when nothing had to be done...OK
...
** Tags removed: verification-needed verification-needed-bionic verification-needed-cosmic verification-needed-xenial
** Tags added: verification-done verification-done-bionic verification-done-cosmic verification-done-xenial
--
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/1821103
Title:
[SRU] Skip sending email when no package had to be installed, upgraded
or removed
Status in unattended-upgrades package in Ubuntu:
Fix Released
Status in unattended-upgrades source package in Xenial:
Fix Committed
Status in unattended-upgrades source package in Bionic:
Fix Committed
Status in unattended-upgrades source package in Cosmic:
Fix Committed
Status in unattended-upgrades package in Debian:
Fix Released
Bug description:
[Impact]
* Users get unattended-upgrade's email report every day or every time u-u ran, even when no package needed to be upraded, installed or removed. This can annoy administrators managing many servers.
* The fix is sending the report email only when there were actions taken by u-u.
[Test Case]
* The extended autopkgtest script checks if no email is sent when u-u
did not upgrade packages.
[Regression Potential]
* Unattended-upgrades may skip sending emails which would contain
useful information, but given the size and the simplicity of the
scripts this seems unlikely.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1821103/+subscriptions
More information about the foundations-bugs
mailing list