Created attachment 341834 [details, diff] Add support for clvmd with openais and/or corosync The current stable lvm2 has support for clustered lvm in different modes: * cman * corosync * openais Or any combination of these. However: The current ebuild does not allow for a corosync or openais enabled clvmd. The attached patch adds two new USE flags: corosync and openais With these one can build lvm2 with any allowd combination by adding the desired USE flags. The special mode "all" which is also allowed in lvm2 enabled autodetect which IMO is not what we want with our USE flag system... so I did not re-enable it as the TODO item in the ebuild says. The patch should apply to ~arch ebuild as well... TODO: * I did not check whether the new dependencies on openais or corosync need a specific version
Created attachment 341836 [details, diff] metadata update
Another TODO: The init script requires changes in depend() ...
Nice work. (comment #2) > The init script requires changes in depend() ... In lvm-monitoring, I think; dmeventd has 'after lvm' as of 2.02.67 (see bug 485082.)
mschiff: +1 on adding these as a revbump yourself.
Its been a while, but I now added lvm2-2.02.116-r5.ebuild and lvm2-2.02.136-r1.ebuild which enable support for corosync and openais in clvmd