Skip to content

Missing dependency 'ps' for dracut/clevis-pin-pkcs11 #556

Description

@arcanerr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions