Systemd outputs "Dependency failed for Cryptography Setup" error message if /etc/crypttab contains a UUID for a non-existent LUKS device
Issue
systemd
outputs the following messages:
systemd[1]: dev-disk-by\x2duuid-274741fb\x2d52d2\x2d4766\x2db691\x2da3909504dacf.device: Job dev-disk-by\x2duuid-274741fb\x2d52d2\x2d4766\x2db691\x2da3909504dacf.device/start timed out.
systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-274741fb\x2d52d2\x2d4766\x2db691\x2da3909504dacf.device.
systemd[1]: Dependency failed for Cryptography Setup for luks-274741fb-52d2-4766-b691-a3909504dacf.
systemd[1]: systemd-cryptsetup@luks\x2d274741fb\x2d52d2\x2d4766\x2db691\x2da3909504dacf.service: Job systemd-cryptsetup@luks\x2d274741fb\x2d52d2\x2d4766\x2db691\x2da3909504dacf.service/start failed with result 'dependency'.
systemd[1]: dev-disk-by\x2duuid-274741fb\x2d52d2\x2d4766\x2db691\x2da3909504dacf.device: Job dev-disk-by\x2duuid-274741fb\x2d52d2\x2d4766\x2db691\x2da3909504dacf.device/start failed with result 'timeout'.
Environment
- Red Hat Enterprise Linux 8
- LUKS
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.