hello, On 20/09/2009 Carlo Contavalli wrote: > I've been bitten by initramfs not including the right modules > for cryptroot support a few times now. > > By peeking in: > /usr/share/initramfs-tools/hooks/cryptroot > > I believe the script does not output any warning if it fails to > find a module. > > I believe the script should report missing modules, so the user > can manually tweak /etc/modules and regenerate the ramfs before > actually rebooting the system or having to play with grub.
thanks for your bugreport. unfortunately your suggestion is not an option. in order to support system which do have some/all crypto support compiled into the kernel adding modules to the initramfs will remain quiet. i consider to change the default way to include crypto modules into the initramfs though: in future simply all available crypto modules will be added into the initramfs. that slightly increases size of the initramfs, but in return fixes all issues with current buggy module detection. for example crypto hardware drivers, padlock modules etc aren't included at the moment. currently it intend to keep the current detection system available as a configurable alternative, for minimal systems where initramfs size matters. greetings, jonas
signature.asc
Description: Digital signature