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

initrd script is broken if /bin/plymouth exists on system #8306

Closed
runderwo opened this issue Jan 17, 2019 · 6 comments
Closed

initrd script is broken if /bin/plymouth exists on system #8306

runderwo opened this issue Jan 17, 2019 · 6 comments

Comments

@runderwo
Copy link

runderwo commented Jan 17, 2019

System information

Type Version/Name
Distribution Name Debian
Distribution Version stretch-backports
Linux Kernel 4.19.0-0.bpo.1-amd64
Architecture amd64
ZFS Version 0.8.0~rc2-0-0
SPL Version 0.8.0~rc2-0-0

Describe the problem you're observing

I apologize for not having a screenshot of this, but if /bin/plymouth exists and the initramfs script uses it to get the password from the console to decrypt an encrypted dataset containing the root filesystem, the zfs load-key command then fails because of the single quotes surrounding the encrypted dataset in the zfs command that is fed to plymouth.

Describe how to reproduce the problem

Install plymouth, create a initramfs, and try to decrypt an encrypted dataset containing the root filesystem at boot.

Include any warning/errors/backtraces from the system logs

@ghfields
Copy link
Contributor

Background:
Single quotes were added midway through pull request because of review comments (those comments seem decimated by github):
#8093 (comment)

It was also mirrored in dracut: #8114

As that pull states... it was intended not break pools with spaces in their names.

@runderwo
Copy link
Author

To be clear, I am not at all recommending that the quotes be removed, but rather if plymouth support is important, that the command string be passed through to plymouth ask-for-password in a way that has correct semantics. Plymouth support is actually not important to me; I removed it from the system once I realized what was going wrong in the initrd.

@runderwo
Copy link
Author

https://packages.debian.org/stretch/plymouth - up to date system

@rlaager
Copy link
Member

rlaager commented Sep 24, 2019

This should be fixed by #9202.

@rlaager rlaager closed this as completed Sep 24, 2019
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

No branches or pull requests

4 participants
@rlaager @runderwo @ghfields and others