Systemctl asks for LUKS passphrase when the device has already been decrypted.

Solution In Progress - Updated -

Issue

  • systemd prompts for a passphrase for (an already open) device if the crypttab/fstab listing(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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content