Subject: Fix issue with multiple encrypted devices Origin: v16-2-g0abdfbc Upstream-Author: Dmitriy P Date: Sat Feb 13 15:32:51 2021 -0700 There is a separate askpass process (with its own PID) for each encrypted device. So re-get the askpass PID with each loop iteration. --- a/src/initramfs-tools/scripts/local-top/clevis.in +++ b/src/initramfs-tools/scripts/local-top/clevis.in @@ -130,6 +130,8 @@ while true; do + # Re-get the askpass PID in case there are multiple encrypted devices + pid="" until [ "$pid" ] && [ -p "$PASSFIFO" ]; do sleep .1 pid_fifo=$(get_askpass_pid)