Removing /writable/ kills the system

Bug #1634885 reported by Dave Morley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Triaged
Medium
John Lenton

Bug Description

STORY:
User see some text that says remove /writable/ to reset the system so does.

STEPS:
1. Install core
2. Setup user in console-conf
3. SSH into the system
4. sudo rm -rf /writable/
5. Power off once complete

EXPECTED:
I expect the system to still be able to boot due to it's read only system

ACTUAL:
The system becomes completely unbootable due to the system snaps being in /writable/

Revision history for this message
Michael Vogt (mvo) wrote :

We want to be much more robust here and use "chattr -i" to protect the most important files. This is no grantee of course but it will make the system much more resilient against accidental failures.

Changed in snappy:
status: New → Triaged
importance: Undecided → Medium
John Lenton (chipaca)
Changed in snappy:
assignee: nobody → John Lenton (chipaca)
status: Triaged → In Progress
Michael Vogt (mvo)
Changed in snappy:
status: In Progress → Triaged
Michael Vogt (mvo)
affects: snappy → snapd
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.