Am 08.09.2017 um 14:26 schrieb Bracksiek & Hemmelskamp:
> Ok, in that case the modules in udisks2 has to be optional - and not
> dependencies. What do you think?

There is already
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=873706

Further discussion should follow up there.

Manually removing the mdraid module leads to
> Sep 08 14:38:13 pluto udisksd[23063]: udisks daemon version 2.7.3 starting
> Sep 08 14:38:13 pluto udisksd[23063]: failed to load module mdraid: 
> libbd_mdraid.so.2: cannot open shared object file: No such file or directory
> Sep 08 14:38:13 pluto udisksd[23063]: Failed to load a libblockdev plugin
> Sep 08 14:38:13 pluto udisksd[23063]: Acquired the name 
> org.freedesktop.UDisks2 on the system message bus
> Sep 08 14:38:13 pluto systemd[1]: Started Disk Manager.

The udisks2 daemon is still running though. Same for the
libbd_crypto.so.2 plugin:

> Sep 08 14:40:46 pluto systemd[1]: Starting Disk Manager...
> Sep 08 14:40:46 pluto udisksd[23330]: udisks daemon version 2.7.3 starting
> Sep 08 14:40:46 pluto udisksd[23330]: failed to load module crypto: 
> libbd_crypto.so.2: cannot open shared object file: No such file or directory
> Sep 08 14:40:46 pluto udisksd[23330]: failed to load module mdraid: 
> libbd_mdraid.so.2: cannot open shared object file: No such file or directory
> Sep 08 14:40:46 pluto udisksd[23330]: Failed to load a libblockdev plugin
> Sep 08 14:40:46 pluto udisksd[23330]: Failed to load a libblockdev plugin
> Sep 08 14:40:46 pluto systemd[1]: Started Disk Manager.
> Sep 08 14:40:46 pluto udisksd[23330]: Acquired the name 
> org.freedesktop.UDisks2 on the system message bus

Maybe that's already good enough to make those plugins optional and
demote them to Recommends. The failure messages are certainly ugly
though and I haven't checked how that failure is propagated to the UI,
say cockpit or gnome-disks and if they handle those properly.

As for LVM2 and btrfs support: Those are already optional modules in
udisks2 (i.e. Suggests).
But I'm actually not sure if LVM support works in the Debian udisks2
package.
I see that the following features need to be switched on explicitly:
  --enable-lvm2           enable LVM2 support
  --enable-lvmcache       enable LVMCache support
  --enable-iscsi          enable iSCSI support
  --enable-btrfs          enable BTRFS support
  --enable-zram           enable ZRAM support
  --enable-lsm            enable LibStorageMgmt support
  --enable-bcache         enable Bcache support

Andreas, have you tested if e.g. lvm2 or btrfs support actually works in
the Debian udisks2 package?

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to