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

Bug 317853

Summary: sys-fs/udisks misses lvm use flag
Product: Gentoo Linux Reporter: Gustavo Sverzut Barbieri <barbieri>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Gustavo Sverzut Barbieri 2010-04-30 01:05:32 UTC
Many people will not use use lvm2, so force it on users is not good. UDisks have --disable-lvm2 that allows removal of such dependency.

Reproducible: Always

Steps to Reproduce:
Comment 1 cyrix12 2010-04-30 01:10:58 UTC
It's also missing one for dmmp.
  --disable-lvm2          disable LVM2 support
  --disable-dmmp          disable dm-multipath support
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-04-30 01:32:21 UTC
Because you can't avoid the lvm2 depend USE flag doesn't make sense... 

lvm2 is required for the device-mapper anyway.
Comment 3 Gustavo Sverzut Barbieri 2010-04-30 01:46:41 UTC
I'm also reporting at udisks:

thanks for noticing the device-mapper dependency.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-04-30 08:30:27 UTC
Most binary distributions split libdevmapper/device-mapper into it's own package.

Gentoo doesn't since upstream is shipping it in one tarball and the build system is most likely designed to build them all at once.

Anyway, if udisks makes device-mapper optional by USE flag, we can have something like:

$(use_enable device-mapper)
$(use_enable lvm2)

device-mapper? ( lvm2 )
lvm2? ( lvm2 )

But since it's not the case right now, closing as UPSTREAM with reference to the bug you opened.