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

James Hunt 613231 at bugs.launchpad.net
Mon Sep 17 10:31:34 UTC 2012

Hi Jouko. I agree with Clint. There are just a couple of points here:

- The patch no longer applies cleanly to the Ubuntu upstart package as upstart-job has changed a little.
- I'd personally prefer the variables to be called ECHO (rather than ECHO_NOTE) and ECHO_ERROR since its then a smaller change and less likely for errors to be introduced should someone change the file and inadvertently specify ECHO (as they used to).

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