[Bug 1402183] Re: Unimportant update notifications are sent to root from cron script

Jani Uusitalo jani at mummila.net
Sat Oct 13 15:17:35 UTC 2018


Needless verbosity is the problem here, IMO. I'd expect to receive
output from the installer only when the download or install fails for
some reason, not when it succeeds.

(Also, to me the culprit here seems to be flashplugin-installer and not
update-notifier, as plenty of other packages also report their
installation progress, but only flashplugin's seems to get forwarded to
root's mail even when nothing abnormal occurs.)

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

Title:
  Unimportant update notifications are sent to root from cron script

Status in update-notifier package in Ubuntu:
  Confirmed

Bug description:
  Whenever flashplugin-installer installs a new version, the cron system
  sends a mail to root:

  /etc/cron.daily/update-notifier-common:
  flashplugin-installer: downloading http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.425.orig.tar.gz
  Installing from local file /tmp/tmphusER_.gz
  Flash Plugin installed.

  This isn't appropriate to mail root about. /usr/lib/flashplugin-
  installer/install_plugin sends some output to stdout, which is
  probably reasonable. I believe the problem here is that the
  /etc/cron.daily/update-notifier-common script doesn't redirect stdout
  to some other place.

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



More information about the foundations-bugs mailing list