doesn't cope with corrupted SSH key files
Bug #1450383 reported by
Loïc Minier
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
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,
Changed in cloud-init (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
importance: | Medium → Low |
To post a comment you must log in.