I'd suggest to add a line
ps \
around here:
This at least removes error messages in the logs (at least on openSUSE Tumbleweed) since ps is called indirectly in the clevis-pin-pkcs11 module but is not required explicitly by its setup.
The initially seen error message is (since I'm typing it from a screenshot there may be typos in it):
dracut-initqueue[626]: /var/lib/dracut/hooks/initqueue/60-clevis-pkcs11-prehook.sh: line 21: clevis-pkcs11-afunix-socket-unlock: command not found
on the console, but this seems to be a follow-up error of the message found in the journal:
Mai 07 10:20:01 skylla dracut-initqueue[691]: clevis-pkcs11: starting pcscd if not available ...
Mai 07 10:20:01 skylla dracut-initqueue[693]: /usr/libexec/clevis-luks-pkcs11-askpin: line 57: ps: command not found
Mai 07 10:20:01 skylla dracut-initqueue[691]: clevis-pkcs11: pcscd running?:[]
Mai 07 10:20:01 skylla dracut-initqueue[695]: /usr/libexec/clevis-luks-pkcs11-askpin: line 59: ps: command not found
I'd suggest to add a line
ps \around here:
clevis/src/luks/dracut/clevis-pin-pkcs11/module-setup.sh.in
Line 41 in 23679e1
This at least removes error messages in the logs (at least on openSUSE Tumbleweed) since
psis called indirectly in the clevis-pin-pkcs11 module but is not required explicitly by its setup.The initially seen error message is (since I'm typing it from a screenshot there may be typos in it):
on the console, but this seems to be a follow-up error of the message found in the journal: