part-handler exceptions crash cloud-init
Bug #938101 reported by
Mike Milner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Undecided
|
Mike Milner |
Bug Description
Userdata can contain part-handler mime parts with custom code for handling other mime-parts. If a part-handler raises an Exception cloud-init crashes before it can configure the ssh server, leaving the machine inaccessible.
Related branches
lp:~milner/cloud-init/protect-from-bad-part-handlers
- cloud-init Commiters: Pending requested
-
Diff: 250 lines (+204/-8)2 files modifiedcloudinit/__init__.py (+9/-8)
tests/unittests/test__init__.py (+195/-0)
Changed in cloud-init: | |
assignee: | nobody → Mike Milner (milner) |
status: | New → In Progress |
Changed in cloud-init: | |
status: | In Progress → Fix Committed |
Changed in cloud-init: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Tracked in Github Issues as https:/ /github. com/canonical/ cloud-init/ issues/ 2241