[lvm-devel] Is it reasonable to build lvmlockd in this way?

Eric Ren zren at suse.com
Wed May 10 09:10:27 UTC 2017


Hi David,

Firstly, I really appreciate your work on lvmlockd feature. I've enabled it for openSUSE,
and have testing on it, which works great.

But, we got a build problem on lvmlockd discussed here:
     https://bugzilla.suse.com/show_bug.cgi?id=1037309

This is caused by the way openSUSE tries to build cluster-relative packages separately
by splitting spec file into different ones, in order to avoid dependencies when building
basic lvm packages:
     https://build.opensuse.org/package/show/Base:System/lvm2

For cLVM, we can do it this way without problems. But, it cannot work for lvmlockd in this way,
because main lvm tools(like vgcreate) will link to the empty version of lvmlockd functions
(lockd_running_lock_type in lvmlockd.h).

Our package team insists that we should change lvmlockd to the clvm way so that we can
build lvmlockd separately.   Before doing useless work, I really like to hear your advice first.

Any comments would be appreciated!

Regards,
Eric




More information about the lvm-devel mailing list