Reduce cron spam from weekly update-notifier-common
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Xenial |
Confirmed
|
Undecided
|
Unassigned | ||
Bionic |
Confirmed
|
Undecided
|
Unassigned | ||
Focal |
Confirmed
|
Undecided
|
Unassigned | ||
Jammy |
Confirmed
|
Undecided
|
Unassigned | ||
Kinetic |
Won't Fix
|
Undecided
|
Unassigned | ||
update-notifier (Ubuntu) |
Confirmed
|
Low
|
Unassigned | ||
Xenial |
Confirmed
|
Undecided
|
Unassigned | ||
Bionic |
Confirmed
|
Undecided
|
Unassigned | ||
Focal |
Confirmed
|
Undecided
|
Unassigned | ||
Jammy |
Confirmed
|
Low
|
Unassigned | ||
Kinetic |
Confirmed
|
Low
|
Unassigned |
Bug Description
Hi,
We get these cron spam weekly:
| Received: by mysystem.
| id B19E32E806B; Sun, 15 Aug 2021 06:47:03 +0000 (UTC)
| Delivered-To: <email address hidden>
| Received: by mysystem.
| id 9DD002E8075; Sun, 15 Aug 2021 06:47:03 +0000 (UTC)
| From: Cron Daemon <email address hidden>
| To: <email address hidden>
| Subject: Cron <root@mysystem> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
| MIME-Version: 1.0
| Content-Type: text/plain; charset=UTF-8
| Content-
| X-Cron-Env: <SHELL=/bin/sh>
| X-Cron-Env: <PATH=/
| X-Cron-Env: <HOME=/root>
| X-Cron-Env: <LOGNAME=root>
| Message-Id: <email address hidden>
| Date: Sun, 15 Aug 2021 06:47:03 +0000 (UTC)
|
| /etc/cron.
| New release '18.04.5 LTS' available.
| Run 'do-release-
This is output from /etc/cron.
That's fine for when you have a system or two, but probably not when you manage many. Any chance the cron job can be updated so stdout is silenced? So:
| # Check to see whether there is a new version of Ubuntu available
| /usr/lib/
Thanks
tags: | added: rls-ii-incoming |
tags: | removed: rls-ii-incoming |
Changed in update-notifier (Ubuntu): | |
importance: | Undecided → Low |
tags: | added: rls-ii-incoming |
tags: |
added: rls-jj-incoming removed: rls-ii-incoming |
tags: | added: fr-1814 |
tags: | removed: rls-jj-incoming |
no longer affects: | ubuntu-release-upgrader (Ubuntu Trusty) |
no longer affects: | update-notifier (Ubuntu Trusty) |
I think part of the point of having the cronjob is to mail the system administrator and let them know that a new release of Ubuntu is available. That being said I do feel like sending the email every week until the system upgraded is a bit much. I'd be happy to hear about any clever ideas for avoiding that.