When unmounting a LUKS-encrypted partition, either by running udiskie-umount /dev/sdaX or via tray/GUI Unpower /dev/sda command, then following error is shown:
failed to lock /org/freedesktop/UDisks2/block_devices/sda2: GDBus.Error:org.freedesktop.UDisks2.Error.Failed: Error locking /dev/dm-4 (/dev/sda2): Failed to deactivate device: Device or resource busy
Notification error message is slightly different:
Job Failed
failed to lock /dev/sda2: Threaded job failed with error: Failed to deactivate device: Device or resource busy (g-bd-crypto-error-quark, 1)
Best I can tell no user-launched program is accessing the drive.
config ~/.config/udiskie/config.yml:
device_config:
- id_uuid: 6812a133-4aa1-455a-8ba1-da21ecc4822a
keyfile: /path/to/key
udiskie 2.5.8