Public bug reported:
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.
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
internally?
12.04 current dist-upgrade as of today
** Affects: ubuntu
Importance: Undecided
Status: New
** Description changed:
service --status-all reports some service status lines on stdout, others
on stderr.
- noticable and poblematic especially when piping to less/grep/etc.
+ noticable and problematic especially when piping to less/grep/etc.
presumably this is because it's calling multiple individual scripts each
- generating their own to inconsistent destinations.
+ generating their own output to inconsistent destinations.
workaround is to remember to 2>&1, but that is dumb; if the scripts
- can't be made consistent then perhaps at least service(8) can at least
- do this internally?
-
+ can't be made consistent then perhaps service(8) can at least do this
+ internally?
12.04 current dist-upgrade as of today
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1010782
Title:
service(8) output inconsistent to stdout/stderr
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1010782/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs