Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 461564 - =sys-fs/lvm2-2.02.97-r1 ebuild does not have corosync and openais support for clvmd
Summary: =sys-fs/lvm2-2.02.97-r1 ebuild does not have corosync and openais support for...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard: clvm
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-03-12 18:43 UTC by Marc Schiffbauer
Modified: 2016-01-25 02:41 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Add support for clvmd with openais and/or corosync (lvm2-2.02.97-r1.ebuild.patch,1.24 KB, patch)
2013-03-12 18:43 UTC, Marc Schiffbauer
Details | Diff
metadata update (metadata.xml.patch,610 bytes, patch)
2013-03-12 18:44 UTC, Marc Schiffbauer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Schiffbauer gentoo-dev 2013-03-12 18:43:55 UTC
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
Comment 1 Marc Schiffbauer gentoo-dev 2013-03-12 18:44:53 UTC
Created attachment 341836 [details, diff]
metadata update
Comment 2 Marc Schiffbauer gentoo-dev 2013-03-12 18:47:59 UTC
Another TODO:

The init script requires changes in depend() ...
Comment 3 Steve L 2013-09-16 12:50:54 UTC
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.)
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2014-02-04 02:50:06 UTC
mschiff: +1 on adding these as a revbump yourself.
Comment 5 Marc Schiffbauer gentoo-dev 2016-01-25 02:41:55 UTC
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