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

refactor: is option initramfs on device needed, also does not select … #231

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jdreichmann
Copy link
Contributor

…boot device

Selecting a wrong device since it's not matching on the boot device:

TASK [famedly.base.dropbear_luks_unlock : Configure `crypttab`] *******************************************************
--- before: /etc/crypttab (content)
+++ after: /etc/crypttab (content)
@@ -2,4 +2,4 @@
 luks_sda /dev/sda /root/key_sda.key luks,discard
 luks_sdb /dev/sdb /root/key_sdb.key luks,discard
 luks_sdc /dev/sdc /root/key_sdc.key luks,discard
-luks_sdd /dev/sdd /root/key_sdd.key luks,discard
+luks_sdd /dev/sdd /root/key_sdd.key luks,initramfs

https://manpages.debian.org/bookworm/cryptsetup/crypttab.5.en.html lists this as debian-specific, but this server boots fine from /dev/sde regardless of discard or initramfs flag - unclear wether this is needed

@jdreichmann jdreichmann requested a review from a team as a code owner July 21, 2024 14:54
@CLAassistant
Copy link

CLAassistant commented Jul 21, 2024

CLA assistant check
All committers have signed the CLA.

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.

3 participants