Public bug reported:

Newer 4.15 kernels contain the following fix for CVE-2018-1108:
  43838a23a05fb ("random: fix crng_ready() test")

This causes cloud-init to stall for a potentially long time during boot
(waiting for entropy I presume). Google reported boot delays of 75
minutes.

I've tracked this down to the following import in templater.py which causes the 
delay:
    from jinja2 import Template as JTemplate

Which is called when cc_update_etc_hosts is imported.

** Affects: cloud-init (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu)
     Importance: High
         Status: Incomplete

** Changed in: linux (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1780062

Title:
  Cloud-init causes potentially huge boot delays with 4.15 kernels

Status in cloud-init package in Ubuntu:
  New
Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Newer 4.15 kernels contain the following fix for CVE-2018-1108:
    43838a23a05fb ("random: fix crng_ready() test")

  This causes cloud-init to stall for a potentially long time during
  boot (waiting for entropy I presume). Google reported boot delays of
  75 minutes.

  I've tracked this down to the following import in templater.py which causes 
the delay:
      from jinja2 import Template as JTemplate

  Which is called when cc_update_etc_hosts is imported.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1780062/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to