Bug 1201288 - Consider weakening/dropping some dependencies of libbd_* packages
Summary: Consider weakening/dropping some dependencies of libbd_* packages
Status: CONFIRMED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Enhancement (vote)
Target Milestone: ---
Assignee: Luciano Santos
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-07 14:39 UTC by Fabian Vogt
Modified: 2022-07-07 21:19 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Vogt 2022-07-07 14:39:43 UTC
Currently all TW installations with udisks2 (or other users of libblockdev) have a hard dependency on packages such as lvm2, mdadm and thin-provisioning-tools. In the case of udisks2 at least, those plugins are only really used if devices of that type are detected, which is not the case on most systems.

So it might be a good idea to weaken those dependencies or drop them entirely.

This is somehwat related to bug 1194771.
Comment 1 Luciano Santos 2022-07-07 21:19:53 UTC
I did a quick grepping around the source tree and it seems to be worth it to investigate about those sweet requirements weakening/dropping.

Comparing our libblockdev spec with Fedora's, they don't have a requirement in thin-provisioning-tools anymore, so we can get rid of it.

Now, mdadm and lvm2 are two oddities, they are not looked for by configure script, but are being listed in tests/utils.py. For instance, the libblockdev's mdraid plugin will fail to load without mdadm (at least, according to a comment in tests/mdraid_test.py, line 642). And the same thing for libblockdev's lvm pluging (tests/lvm_test.py, line 1834).

I'm going to poke upstream a little bit before we proceed.