FS#54329 - [udisks2] missing new dependencies with 2.7.0-1

Attached to Project: Arch Linux
Opened by Jeb Rosen (jebrosen) - Tuesday, 06 June 2017, 20:11 GMT
Last edited by Felix Yan (felixonmars) - Wednesday, 07 June 2017, 03:55 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
Udisks 2.7.0-1 now uses libblockdev for some tasks. libblockdev has optional dependencies on libbytesize and volume_key, but these appear to be hard dependencies for udisks2. Any udisks commands that depend on the daemon time out, with errors similar to the following appearing in the journal:

Jun 06 14:01:15 lunix systemd[1]: Starting Disk Manager...
Jun 06 14:01:15 lunix udisksd[4400]: udisks daemon version 2.7.0 starting
Jun 06 14:01:15 lunix udisksd[4400]: failed to load module crypto: libvolume_key.so.1: cannot open shared object file: No such file or directory
Jun 06 14:01:15 lunix udisksd[4400]: failed to load module mdraid: libbytesize.so.1: cannot open shared object file: No such file or directory
Jun 06 14:01:15 lunix udisksd[4400]: Error initializing libblockdev library: Failed to load plugins (g-bd-init-error-quark, 0)
Jun 06 14:01:15 lunix kernel: traps: udisksd[4400] trap int3 ip:7f4273817401 sp:7ffd4948c5c0 error:0
Jun 06 14:01:15 lunix systemd[1]: Started Process Core Dump (PID 4406/UID 0).
Jun 06 14:01:15 lunix systemd[1]: udisks2.service: Main process exited, code=dumped, status=5/TRAP
Jun 06 14:01:15 lunix systemd[1]: Failed to start Disk Manager.
Jun 06 14:01:15 lunix systemd[1]: udisks2.service: Unit entered failed state.
Jun 06 14:01:15 lunix systemd[1]: udisks2.service: Failed with result 'core-dump'.

This will likely break many file managers with automount support (it did with at least pcmanfm).

Additional info:
* udisks2 2.7.0-1

Steps to reproduce:
* Install udisks2 but do not install volume_key or libbytesize.
This task depends upon

Closed by  Felix Yan (felixonmars)
Wednesday, 07 June 2017, 03:55 GMT
Reason for closing:  Fixed
Additional comments about closing:  libblockdev 2.8-2
Comment by Jan de Groot (JGC) - Tuesday, 06 June 2017, 21:33 GMT
I don't see any reason for these optdepends. Libraries are only small, why not add these libraries as dependency for libblockdev?

Loading...