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

Launchpad Bug Tracker 1010782 at bugs.launchpad.net
Sat Jun 9 08:52:39 UTC 2012


You have been subscribed to a public bug:

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

** Affects: sysvinit (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bot-comment precise
-- 
service(8) output inconsistent to stdout/stderr
https://bugs.launchpad.net/bugs/1010782
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to sysvinit in Ubuntu.




More information about the foundations-bugs mailing list