[Bug 613231] Re: Option to quiet /lib/init/upstart-jobs [RFE,PATCH]
Launchpad Bug Tracker
613231 at bugs.launchpad.net
Tue Dec 11 13:40:16 UTC 2012
This bug was fixed in the package upstart - 1.6.1-1ubuntu1
---------------
upstart (1.6.1-1ubuntu1) raring; urgency=low
[ Steve Langasek ]
* New upstream release.
* Merge with Debian.
- drop debian/conf/dbus-reconnect.conf again, only needed in Debian.
- don't build against libselinux; this is probably fine to have in
Ubuntu, but this isn't the time to add it.
- back down the Debian-specific versioned depends on sysvinit, ifupdown,
udev
* Export $TERM in init/Makefile.am; the Debian buildds don't set this,
which results in test failures because of assumptions that it will be
available.
* Hard-code a dependency on libjson0 (>= 0.10-1.1ubuntu1), the first
version of the package that installs to /lib instead of /usr/lib.
[ James Hunt ]
* debian/upstart-job: Allow script to operate quietly by reading optional
/etc/default/upstart-job configuration. Thanks to Jouko Orava
(LP: #613231)
* debian/control: Added debianutils for ischroot(1).
* debian/upstart.postinst: Enabled stateful re-exec handling in selected
upgrade scenarios. Details:
- Only query running version if initctl is known to work.
- Discard initctl stderr just in case.
- Do not re-exec if running in a chroot (uses ischroot(1)).
- Removed redundent check on previously installed version.
- Updated lengthy commentary.
[ Stéphane Graber ]
* debian/apparmor-profile-load: Ignore output from running-in-container.
This prevents the output of running-in-container from being appended to
rsyslog's upstart log (and any other job calling apparmor-profile-load).
[ Dmitrijs Ledkovs, James Hunt ]
* Add DEP-8 autopkgtests.
-- Steve Langasek <steve.langasek at ubuntu.com> Thu, 15 Nov 2012 09:26:10 -0800
** Changed in: upstart (Ubuntu)
Status: Fix Committed => Fix Released
--
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 Released
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