[lvm-devel] [RFC] lvmetad_is_disabled: check config before connecting to socket

David Teigland teigland at redhat.com
Fri Oct 13 15:39:38 UTC 2017


On Fri, Oct 13, 2017 at 12:06:49PM +0200, Zdenek Kabelac wrote:

> The reason why is checked the presence for active service when lvmetad is
> disable is - we have to print warning that  lvmetad is there, but command is
> not going to use it/update it....

That happens here:

https://sourceware.org/git/?p=lvm2.git;a=blob;f=lib/commands/toolcontext.c;h=39b300a78bbceda9f5092604be54e04f6f457584;hb=HEAD#l1706

and does not involve connecting to lvmetad.

Dave




More information about the lvm-devel mailing list