(Looping in Martin, the maintainer/upstream of cockpit)
Thanks for the additional information.
I think there is no bug in udisks2 itself. At the most, this bug report
could be repurposed as a wishlist bug to package udisks2-iscsi.
But even then, it wouldn't be guaranteed, that this package is installed.
In my case, when I open the storage tab in cockpit, I get:
Mär 27 09:47:56 mars udisksd[17352]: Error initializing module 'btrfs':
/usr/lib/x86_64-linux-gnu/udisks2/modules/libudisks2_btrfs.so: cannot
open shared object file: No such file or directory
Mär 27 09:47:56 mars udisksd[17352]: Error initializing module 'iscsi':
/usr/lib/x86_64-linux-gnu/udisks2/modules/libudisks2_iscsi.so: cannot
open shared object file: No such file or directory
Mär 27 09:47:56 mars udisksd[17352]: Error initializing module 'lvm2':
/usr/lib/x86_64-linux-gnu/udisks2/modules/libudisks2_lvm2.so: cannot
open shared object file: No such file or directory
That is because I don't have udisks2-btrfs and udisks2-lvm2 installed.
This all works as expected afaics.
Martin, wdyt?
From a cursory glance, there appears to be no API to query available
modules. So cockpit simply tries to enable all of them. Is that correct?
Michael
Am 27.03.25 um 08:55 schrieb Michael Wang: