snappy update: fsck errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Invalid
|
High
|
James Hunt |
Bug Description
Environment:
base: system-
channel: ubuntu-
device: generic_armhf
build_number: 185
Steps to reproduce:
# from ubuntu-core 184 to 185
sudo snappy-go update (using snappy-go because of this: bug 1433485)
sudo reboot
# system bring up correctly
# from ubuntu-core 185 to 186
ubuntu@
Installing ubuntu-core (186)
Starting download of ubuntu-core
138.44 KB / 138.44 KB [======
Done
error from system-image-cli: ('%s exited with %s:\n%s', ['ubuntu-
Related branches
- Timo Jyrinki: Needs Resubmitting
- Ubuntu branches: Pending requested
-
Diff: 147 lines (+74/-10)3 files modifieddebian/changelog (+6/-0)
ubuntucoreupgrader/tests/test_upgrader.py (+56/-0)
ubuntucoreupgrader/upgrader.py (+12/-10)
Changed in snappy-ubuntu: | |
status: | New → Confirmed |
description: | updated |
Changed in snappy-ubuntu: | |
status: | Confirmed → Incomplete |
affects: | snappy-ubuntu → snappy |
ok, so few things I believe that should be looked at:
1. reduce risk of corruption of other partition during update -> mount it with "sync" option as well
2. try harder to recover from corruption
-> if normal fsck fails, maybe try harder
-> if that also fails or if try harder is considered not clean -> mkfs and recreate from scratch