1 |
On Monday, 24 June 2019 09:40:07 BST Peter Humphrey wrote: |
2 |
> On Monday, 24 June 2019 08:46:55 BST Neil Bothwick wrote: |
3 |
> > So the choice is between an unsupported configuration or installing a |
4 |
> > handful of binaries that you will never use. Unless space was an issue, |
5 |
> > there's about 6NB difference, I'd go with the latter, although |
6 |
> > UNSUPPORTED != DOESNOTWORK |
7 |
> |
8 |
> Yes, I've done the same on two boxes that have no need of lvm. It does seem |
9 |
> wasteful though. |
10 |
> |
11 |
> I forget the detail now, but a recent-ish version of sys-fs/cryptsetup found |
12 |
> it needed a hard dependency on some of the code in lvm2. It seems to me |
13 |
> that we have here an opportunity for redesign of certain packages. ("We" |
14 |
> the community, that is.) |
15 |
> |
16 |
> On this box, which does need lvm for RAID-1 on two SSDs: |
17 |
> |
18 |
> $ equery d lvm2 |
19 |
> * These packages depend on lvm2: |
20 |
> app-emulation/virtualbox-6.0.8 (lvm ? sys-fs/lvm2) |
21 |
> net-fs/nfs-utils-2.4.1 (nfsv41 ? sys-fs/lvm2) |
22 |
> sys-block/gparted-0.33.0 (dmraid ? >=sys-fs/lvm2-2.02.45) |
23 |
> sys-block/parted-3.2_p25 (device-mapper ? >=sys-fs/lvm2-2.02.45) |
24 |
> sys-fs/cryptsetup-2.1.0 (sys-fs/lvm2[static-libs(+)]) |
25 |
> (sys-fs/lvm2) |
26 |
> sys-fs/e2fsprogs-1.45.2 (cron ? sys-fs/lvm2[-device-mapper-only(-)]) |
27 |
> sys-fs/udisks-2.8.3 (lvm ? sys-fs/lvm2) |
28 |
> sys-libs/libblockdev-2.22 (device-mapper ? sys-fs/lvm2) |
29 |
> (dmraid ? sys-fs/lvm2) |
30 |
> (lvm ? sys-fs/lvm2) |
31 |
> |
32 |
> Other than sys-fs/cryptsetup, those are all conditional dependencies. |
33 |
|
34 |
Also to mention, the installation following adjustment of the USE flags |
35 |
completes like so: |
36 |
============================================ |
37 |
* Messages for package sys-fs/lvm2-2.02.184-r4: |
38 |
|
39 |
* Make sure the "lvm" init script is in the runlevels: |
40 |
* # rc-update add lvm boot |
41 |
* |
42 |
* Make sure to enable lvmetad in /etc/lvm/lvm.conf if you want |
43 |
* to enable lvm autoactivation and metadata caching. |
44 |
>>> Auto-cleaning packages... |
45 |
========================== |
46 |
|
47 |
There is no lvm init script left in my system: |
48 |
|
49 |
# rc-update -s -v | grep -i lvm |
50 |
# |
51 |
|
52 |
-- |
53 |
Regards, |
54 |
|
55 |
Mick |