[Bug 1307747] Re: update-notifier-release upstart job logs excessively

Brian Murray brian at ubuntu.com
Tue Apr 15 14:17:55 UTC 2014


Yes, that would be enough to fix the messages appearing in the log file,
but my last comment was more about why is the create event happening so
often?

# release-upgrade-available is provided by /usr/lib/ubuntu-release-upgrader/release-upgrade-motd
start on (
    file FILE=/var/lib/ubuntu-release-upgrader/release-upgrade-available EVENT=create
)

I believe the intent of the release-upgrade-motd is to only check for a
new release at most once per day, and based off the data in the log file
(comment 3) it is being checked for more than that (or the file is being
"created").

-- 
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/1307747

Title:
  update-notifier-release upstart job logs excessively

Status in “update-notifier” package in Ubuntu:
  Triaged

Bug description:
  The update-notifier-release upstart job logs that a release upgrade is
  available when in fact is not.

  echo "$DATE new release available"
  if [ -s $FILE ]; then

  An empty file is used to keep track of when a new release was last
  checked for so the echo, if it is kept, should be after the file is
  checked to see if it is zero size.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: update-notifier 0.154
  ProcVersionSignature: Ubuntu 3.13.0-22.44-generic 3.13.8
  Uname: Linux 3.13.0-22-generic x86_64
  ApportVersion: 2.14-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Apr 14 16:28:48 2014
  InstallationDate: Installed on 2014-03-06 (39 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140306)
  SourcePackage: update-notifier
  UpgradeStatus: No upgrade log present (probably fresh install)

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



More information about the foundations-bugs mailing list