automatic reboot fails with zero size kernel, no watchdog in grub
Bug #1467553 reported by
Federico Gimenez
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Triaged
|
Low
|
Unassigned | ||
Ubuntu |
New
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce:
Begin with an upgradable image
$ sudo ubuntu-device-flash --revision=-1 core rollling --channel edge -o snappy.img --developer-mode
Launch
$ kvm -m 768 -redir :8022::22 ./snappy.img
Update
$ ssh -p 8022 ubuntu@localhost
$ sudo snappy update
Remove the kernel in the other partition and create a zero size file:
$ sudo mount -o remount,rw /writable/
$ sudo rm /writable/
$ sudo touch /writable/
Reboot
tags: | added: snappy-robustness |
affects: | snappy → snapd |
summary: |
- automatic reboot fails with zero size kernel + automatic reboot fails with zero size kernel, no watchdog in grub |
Changed in snapd: | |
assignee: | nobody → faisal (alfaesal18) |
Changed in ubuntu: | |
assignee: | nobody → faisal (alfaesal18) |
Changed in snapd: | |
status: | Triaged → Confirmed |
information type: | Public → Public Security |
Changed in snapd: | |
status: | Confirmed → Fix Committed |
Changed in ubuntu: | |
status: | Confirmed → Fix Committed |
information type: | Public Security → Private |
Changed in snapd: | |
status: | Fix Committed → Fix Released |
Changed in snapd: | |
assignee: | faisal (alfaesal18) → nobody |
Changed in ubuntu: | |
assignee: | faisal (alfaesal18) → nobody |
Changed in snapd: | |
status: | Fix Released → Triaged |
information type: | Private → Public |
Changed in snapd: | |
status: | Triaged → New |
Changed in ubuntu: | |
status: | Fix Committed → New |
Changed in snapd: | |
status: | New → Confirmed |
status: | Confirmed → Triaged |
To post a comment you must log in.
I am unsure why you are reporting this as a bug. If you corrupt the filesystem, it will fail to boot. After it fails to boot, powering the system off and powering it on again should fall back to the other partition. How is this different from what you are expecting to happen?