[Bug 613231] Re: Option to quiet /lib/init/upstart-jobs [RFE,PATCH]

Jouko Orava joorava at iki.fi
Mon Sep 17 14:00:13 UTC 2012

This is the same patch as in #6, except with ECHO split to ECHO
(notifications) and ECHO_ERROR (used for the command not supported

** Patch added: "Teach upstart-job about /etc/default/upstart-job (ECHO and ECHO_ERROR)"

You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.

  Option to quiet /lib/init/upstart-jobs [RFE,PATCH]

Status in “upstart” package in Ubuntu:

Bug description:
  Binary package hint: upstart

  /lib/init/upstart-job clutters my messages with duplicate, unnecessary
  messages. I want an option to silence it.

  The same notification, "Rather than invoking init scripts through /etc/init.d, ...", is output every single time any init script linked to upstart-job is executed. If I modify /lib/init/upstart-job directly, updating upstart becomes difficult.
  This script is a Debian/Ubuntu addition, fully defined in the upstart-*.diff.

  I've attached the both a patch, and the replacement upstart-job script
  itself; these are compatible with both upstart-0.6.5 and 0.6.6.

  Default behaviour stays exactly the same.

  Short description of the changes:

  The ECHO variable is split into two, ECHO_NOTE and ECHO_ERROR, which receive the same values ECHO had.
  However, if file /etc/upstart-jobs.conf exists, it is sourced, so that the two variables can be overridden easily.

To manage notifications about this bug go to:

More information about the foundations-bugs mailing list