Public bug reported:

Hi,

when cloud-init starts on snappy for the first time, it will generate
host SSH keys. If power is removed after this point, fsck might replace
this uncommitted data by zero files, in which case it's impossible to
login to the system.

A workaround would be to flush/sync data to disk after writing the
files, but I guess the root cause fix would be to check on each boot if
the files were successfully written in full or otherwise regenerate
them.

Cheers,

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1450383

Title:
  doesn't cope with corrupted SSH key files

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

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

Reply via email to