Project

General

Profile

Actions

Bug #11593

closed

Not all output is captured from a command

Added by Stephen Benjamin over 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Run "systemctl status httpd" remotely on a host - no output is captured.

Not sure what's causing it - it seems to be sent on stdout. Even doing -l --no-pager doesn't seem to help.

Actions #1

Updated by Ivan Necas over 9 years ago

  • Status changed from New to Assigned
  • Assignee set to Ivan Necas
  • Target version set to 85

Thanks for reporting, I was able to reproduce the issue: it seems it has something to do with colorful output (that the systemctl produces).

The proposed solution would be just to force just ascii as the output.

Actions #2

Updated by Stephen Benjamin over 9 years ago

I figured it was specific to systemd, but don't see a way to turn it off. It seems to do some automatic detection about the capabilities of the current context.

`systemctl status httpd | tee` seems to force colors off locally but still no output with the remote execution.

Actions #3

Updated by The Foreman Bot about 9 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/smart_proxy_remote_execution_ssh/pull/7 added
  • Pull request deleted ()
Actions #4

Updated by Marek Hulán about 9 years ago

  • Translation missing: en.field_release set to 83
Actions #5

Updated by Ivan Necas about 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF