[Bug 1010782] Re: service(8) output inconsistent to stdout/stderr

Dan dan at garthwaite.org
Fri Jan 3 19:35:58 UTC 2014


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

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

Title:
  service(8) output inconsistent to stdout/stderr

Status in “sysvinit” package in Ubuntu:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/1010782/+subscriptions



More information about the foundations-bugs mailing list