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

Issue when not using /etc/initramfs-tools/conf.d/*.conf #14

Open
st0nedB opened this issue Sep 12, 2022 · 1 comment
Open

Issue when not using /etc/initramfs-tools/conf.d/*.conf #14

st0nedB opened this issue Sep 12, 2022 · 1 comment

Comments

@st0nedB
Copy link

st0nedB commented Sep 12, 2022

I use dropbear-initramfs to unlock a LUKS LVM on an Ubuntu-Server 22.04. As I also use interface-bonding, I stumbled upon your repo.
Thanks for the amazing work! Just wanted to let you know of a minor issue I came across:

I used it to configure interface bonding and ran into an issue when adding the configuration to /etc/initramfs-tools/initramfs.conf instead of using the conf.d, e.g. via /etc/initramfs-tools/conf.d/some-important-rule.conf.
If the /etc/initramfs-tools/conf.d/ is an empty directory, running sudo update-initramfs -u generates the following output:

update-initramfs: Generating /boot/initrd.img-5.15.0-47-generic
grep: /etc/initramfs-tools/conf.d/*.conf: No such file or directory
grep: /etc/initramfs-tools/conf.d/*.conf: No such file or directory

If one reboots at this point, the initramfs will fail and possibly even fail to boot. I had to unlock by attaching a keyboard and screen to to the machine, then it would continue to boot.

The issue can be easily resolved by adding an empty *.conf file into conf.d, or by adding the config into an extra file (as I should have done in the first place anyways).

@stcz
Copy link
Owner

stcz commented Jan 15, 2023

Sorry, but because I'm not using the hook anymore and a lack of time, I'm not able to maintain this repo anymore.

Please fork and start developing :)

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

2 participants