service(8) output inconsistent to stdout/stderr

Bug #1010782 reported by Daniel Carosone
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sysvinit (Ubuntu)
New
Undecided
Unassigned

Bug Description

service --status-all reports some service status lines on stdout, others on stderr.

noticable and problematic especially when piping to less/grep/etc.

presumably this is because it's calling multiple individual scripts each generating their own output to inconsistent destinations. Maybe there's some standard that says what these should do, and lots of bugs should be filed against each of the non-compliant ones?

workaround is to remember to 2>&1, but that is dumb; if the scripts can't be made consistent then perhaps service(8) can at least do this redirect internally?

12.04 current dist-upgrade as of today

description: updated
description: updated
tags: added: precise
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1010782/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage . I have classified this bug as a bug in sysvinit.

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://help.ubuntu.com/community/ReportingBugs.

affects: ubuntu → sysvinit (Ubuntu)
Revision history for this message
Dan (dgar) wrote :

This bug grates me. All command line tools that output thier main content to stderr irritates me This is most certainly a bug.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.