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
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to