Bug #11593
closed
Not all output is captured from a command
Added by Stephen Benjamin over 9 years ago.
Updated over 6 years ago.
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.
- 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.
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.
- 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 (
)
- Translation missing: en.field_release set to 83
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF