redirecting stderr truncates output
Bug #1611061 reported by
Walt Boring
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.privsep |
Expired
|
Undecided
|
Unassigned |
Bug Description
In my attempts to try and overcome the lack of suppressing stderr, I created a patch in os-brick to redirect stderr to /dev/null for the 'systool -c fc_host -v' test to see if Fibre Channel HBAs are on a host.
When I did that, privsep truncates stdout. So, when a host actually has FC HBAs, we get 1 line of output and aren't able to process the stdout information needed.
You can see the truncated stdout here:
https:/
Here is the output without redirecting stderr
https:/
To post a comment you must log in.
The gists appear to have expired. Is this still a problem?