Public bug reported:

Hi,

We get these cron spam weekly:

| Received: by mysystem.mydomain.local (Postfix)
|         id B19E32E806B; Sun, 15 Aug 2021 06:47:03 +0000 (UTC)
| Delivered-To: root@mysystem.mydomain.local
| Received: by mysystem.mydomain.local (Postfix, from userid 0)
|         id 9DD002E8075; Sun, 15 Aug 2021 06:47:03 +0000 (UTC)
| From: Cron Daemon <root@mysystem.mydomain.local>
| To: root@mysystem.mydomain.local
| 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-Transfer-Encoding: 8bit
| X-Cron-Env: <SHELL=/bin/sh>
| X-Cron-Env: 
<PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin>
| X-Cron-Env: <HOME=/root>
| X-Cron-Env: <LOGNAME=root>
| Message-Id: <20210815064703.9DD002E8075@mysystem.mydomain.local>
| Date: Sun, 15 Aug 2021 06:47:03 +0000 (UTC)
|
| /etc/cron.weekly/update-notifier-common:
| New release '18.04.5 LTS' available.
| Run 'do-release-upgrade' to upgrade to it.

This is output from /etc/cron.weekly/update-notifier-common calling
/usr/lib/ubuntu-release-upgrader/release-upgrade-motd

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/ubuntu-release-upgrader/release-upgrade-motd > /dev/null


Thanks

** Affects: update-notifier (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1940011

Title:
  Reduce cron spam from weekly update-notifier-common

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1940011/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to