/usr/libexec/clevis-luks-askpass: ncat: command not found

Solution In Progress - Updated -


  • clevis-systemd requires nc; however, actually uses ncat in /usr/libexec/clevis-luks-askpass
  • Building RHEL 8 host using Network Bound Disk Encryption (NBDE) fails to boot and logs the following.

    dracut-initqueue[922]: /usr/libexec/clevis-luks-askpass: line 60: ncat: command not found
  • With clevis module enabled, dracut produces following output but doese not fail

    # dracut -f
    dracut-install: ERROR: installing 'ncat'
    dracut: FAILED: /usr/lib/dracut/dracut-install -D /var/tmp/dracut.XXXXXX/initramfs -a /etc/services /usr/libexec/clevis-luks-askpass clevis-luks-common-functions head grep sed clevis-decrypt cryptsetup luksmeta clevis mktemp jose ncat
    # echo $?


  • Red Hat Enterprise Linux (RHEL) 8

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