[Bug 1267225] Re: initramfs in cloud-images does not contain crypt modules
Scott Moser
smoser at ubuntu.com
Wed Jan 8 21:58:05 UTC 2014
This looks like a build-time bug in both overlayroot and crypt-setup.
overlayroot/hooks/overlayroot does:
egrep -qswo "aes" /proc/cpuinfo && manual_add_modules aesni_intel || true
And cryptsetup's /usr/share/initramfs-tools/hooks/cryptroot does:
# Load hardware aes module
if cpu_has_aesni; then
echo aesni
fi
and
cpu_has_aesni() {
return $(grep -q "^flags\s*:\s*.*aes" /proc/cpuinfo)
}
Seems like both of these should not be dynamic based on host cpu support, but constant built in on module availability in the kernel.
** Also affects: cryptsetup (Ubuntu)
Importance: Undecided
Status: New
** Changed in: cryptsetup (Ubuntu)
Status: New => Confirmed
** Changed in: cryptsetup (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cloud-initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1267225
Title:
initramfs in cloud-images does not contain crypt modules
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/1267225/+subscriptions
More information about the Ubuntu-server-bugs
mailing list