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

James Hunt 613231 at bugs.launchpad.net
Mon Nov 26 10:39:41 UTC 2012


@Jouko - thank you once again for making these changes. I have now
applied them to the Ubuntu Upstart branch so they will be included in
the next upload.

** Changed in: upstart (Ubuntu)
     Assignee: (unassigned) => James Hunt (jamesodhunt)

** Changed in: upstart (Ubuntu)
       Status: Confirmed => Fix Committed

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

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

Status in “upstart” package in Ubuntu:
  Fix Committed

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:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/613231/+subscriptions




More information about the foundations-bugs mailing list