[blivet][master] Do not mix stdout and stderr when running utilities

Brian C. Lane bcl at redhat.com
Fri Oct 31 15:51:41 UTC 2014


On Fri, Oct 31, 2014 at 01:44:02PM +0100, Vratislav Podzimek wrote:
> So we can:
> 1) drop this proposed patch and pretend that it is okay to mangle stdout
> and stderr
> 2) apply it as it is and live with the fact that users won't see the
> fipvlan's stderr output (we will, in the program.log)
> 3) add a 'err_to_out' parameter to run_program used only by addSan
> 
> Any suggestions? I think 3) is easy enough to be the best choice, but
> YMMV.

Option #3 seems best to me. Callers should hopefully know when they
would need to mix the two.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)


More information about the anaconda-patches mailing list