[master] Strip lvm WARNING: lines from output (#1157864)

David Lehman dlehman at redhat.com
Wed Oct 29 13:44:24 UTC 2014


On 10/29/2014 07:40 AM, Vratislav Podzimek wrote:
> On Mon, 2014-10-27 at 17:49 -0700, Brian C. Lane wrote:
>> LVM has started including a pile of WARNING: lines in its output. These
>> need to be removed before the return value lvm() is used.
> Isn't that a bug in the first place? I mean shouldn't these messages go
> to stderr and be ignored that way? Discussion about that is not a good
> strategy for f21-branch, but on master we should probably talk to the
> LVM team.
>

blivet.util._run_program dupes stderr to stdout, so if you want to fix 
that it doesn't require the lvm team's involvement. I don't remember why 
we do that, but there may be some place in devicelibs we check the 
output for an error.

David


More information about the anaconda-patches mailing list