In a comment in the lvm2 ebuild: > # dmeventd requires mirrors to be internal, and snapshot available > # so we cannot disable them > myconf="${myconf} --with-mirrors=internal" > myconf="${myconf} --with-snapshots=internal" The real direction is the exact opposite way, this shows man dmeventd: > dmeventd is the event monitoring daemon for device-mapper devices. > Library plugins can register and carry out actions triggered when par- > ticular events occur. Which means, only if you need to use the plugins: Mirror, Raid, Snapshot or Thin you have to also activate: > myconf="${myconf} --enable-dmeventd" But this is unconditionally activated as of now. Despite the Gentoo user can deactivate USE "thin". But the possibility to deactivate Mirror, Raid or Snapshot is missing as of now. This in fact justifies the unconditionaly activation of " --enable-dmeventd" as of now. But the reasoning is for this in the comment is the opposite of reality. And thus way this reasoning is pretending a fat Lvm2 is unavoidable and without alternative a must do!
Uuups, my english - haven't slept the night. What I mean: If it is possible to deactivate all of Mirror, Raid, Snapshot and Thin then also --disable-dmeventd which results in roughly the half of Lvm2 in size. And a lot of man pages could also be purged.
This bug purpose is to document bloat. I am angry about some Gentoo maintainers refusing the addition of one little system unit file and talking about bloat. The real bloat nowadays is information. Which isn't the case when adding a little unused Systemd unit file somewhere hidden in the trees. But this fat Lvm2 spits out constantly warning messages in the logs to the ignorant user ...
Again, your concern is with the size of the installed portion of lvm2?
Again, not really: It is about (idiot-non)information flooding
(In reply to Ulenrich from comment #4) > Again, not really: > It is about (idiot-non)information flooding (comment #2) > this fat Lvm2 spits out constantly warning messages in the logs to the ignorant user Please give examples from your logs of spurious warning messages, and attach the output of: sed -E '/^[[:space:]]*(#|$)/d' /etc/lvm/lvm.conf
Created attachment 363580 [details, diff] lvm2-2.02.104-without-lvm-just-dmsetup.patch Introduces USE dmsetuponly as exclusive flag. Features dmsetup which is enough to cryptsetup mount /home! Get 3MByte free and a lot of less clutter. Booting this reduced version feels more performant. Just a feeling though.
Don't use this my ebuild patch if you have your / - root encrypted! I did not test nor work on that use case! (reminder!)
*** This bug has been marked as a duplicate of bug 479950 ***