Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 238523

Summary: sys-cluster/drbd dependency on sys-cluster/drbd-kernel (openVZ)
Product: Gentoo Linux Reporter: Christian Schmitt <chrschmitt>
Component: [OLD] Core systemAssignee: Gentoo Cluster Team <cluster>
Status: RESOLVED FIXED    
Severity: normal CC: hollow, ramereth
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christian Schmitt 2008-09-23 23:30:34 UTC
The openvz-sources kernel (stable) is already patched to supply drdb support. However the sys-cluster/drbd ebuild still wants to pull in the sources of sys-cluster/drbd-kernel and tries to compile them (which fails here anyway).
However, it would be nice to have a check for openvz-sources in the ebuild and in such case only install the drbd tools and no kernel stuff.
Comment 1 Denis Kaganovich 2009-04-23 18:40:03 UTC
(In reply to comment #0)
> The openvz-sources kernel (stable) is already patched to supply drdb support.
> However the sys-cluster/drbd ebuild still wants to pull in the sources of
> sys-cluster/drbd-kernel and tries to compile them (which fails here anyway).
> However, it would be nice to have a check for openvz-sources in the ebuild and
> in such case only install the drbd tools and no kernel stuff.
> 

Try to add line:
PROVIDE="${PROVIDE} sys-cluster/drbd-kernel"
- after "inherit" in openvz-sources ebuild.
Comment 2 Benedikt Böhm (RETIRED) gentoo-dev 2010-02-25 13:00:34 UTC
with the recent inclusion of drbd into mainline, it makes sense to drop the PDEPEND completely and let the user install drbd-kernel manually if necessary
Comment 3 Lance Albertson (RETIRED) gentoo-dev 2010-03-08 01:06:54 UTC
(In reply to comment #2)
> with the recent inclusion of drbd into mainline, it makes sense to drop the
> PDEPEND completely and let the user install drbd-kernel manually if necessary
> 

I agree that either it needs to be removed or be optional in some fashion.
Comment 4 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-06-26 16:56:31 UTC
Fixed in drbd-8.3.8

+*drbd-8.3.8 (26 Jun 2010)
+
+  26 Jun 2010; Kacper Kowalik <xarthisius@gentoo.org> +drbd-8.3.8.ebuild,
+  metadata.xml:
+  Version bump
+