Systemctl asks for LUKS passphrase when the device has already been decrypted.
Issue
-
systemdprompts for a passphrase for (an already open) device if thecrypttab/fstablisting(s) do not match the existing mapping on the system. -
The system will print out the following message at inappropriate times
Password entry required for 'Please enter passphrase for disk Virtual_disk (luks-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) on <device-name>!' (PID XXXXXXX).
Please enter the password with the systemd-tty-ask-password-agent tool!
Environment
- Red Hat Enterprise Linux 7
- LUKS devices
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
