Bug #11593
closedNot all output is captured from a command
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.
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.
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.
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 (
)
Updated by Marek Hulán about 9 years ago
- Translation missing: en.field_release set to 83
Updated by Ivan Necas about 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_proxy_plugin|2de8b797e45d4d1e3dff3d1c8e1c66e9b206148c.