Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work around /dev/fd/X removal in systemd #275

Merged
merged 2 commits into from
Jan 14, 2021

Conversation

cbiedl
Copy link

@cbiedl cbiedl commented Dec 25, 2020

The <(command) notation in bash relies on the existence of /dev/fd/X,
these device nodes however are no longer created by udev/systemd and
therefore are not available in early userland, breaking unlocking.

Work around by re-writing the code using pipe.

systemd commit:
systemd/systemd@6b2229c6c60d0486

Debian bug report:
https://bugs.debian.org/968518

Closes: #262

The <(command) notation in bash relies on the existence of /dev/fd/X,
these device nodes however are no longer created by udev/systemd and
therefore are not available in early userland, breaking unlocking.

Work around by re-writing the code using pipe.

systemd commit:
    systemd/systemd@6b2229c6c60d0486

Debian bug report:
    https://bugs.debian.org/968518
@dpantel
Copy link
Contributor

dpantel commented Dec 26, 2020

/bin/clevis-luks-common-functions and possibly other scripts also need patching. See #274.

@sergio-correia sergio-correia merged commit 036268d into latchset:master Jan 14, 2021
@sergio-correia
Copy link
Collaborator

Thanks, merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failed to unlock due to missing /dev/fd/X
3 participants