I have a LUKS encrypted drive. For months, the drive behaved normally, locking itself on every system restart, logout, or dismount. Now, no matter what I do, it does not lock anymore. How can I get it to lock again?
Should usually happen through dbus. There was recently a change where
dbus-daemon-units are set in conflict. Switch to one of them back/forth, maybe it helps.
You can lock the block device with:
udisksctl lock --block-device /dev/sdXY