[Bug 1450383] [NEW] doesn't cope with corrupted SSH key files

Loïc Minier loic.minier at ubuntu.com
Thu Apr 30 09:14:24 UTC 2015


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
Server Team, which is subscribed to cloud-init in 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



More information about the Ubuntu-server-bugs mailing list