Comment 6 for bug 1867752

Revision history for this message
Zygmunt Krynicki (zyga) wrote :

Technically what is going on is that we try to remove /root but fail because it's a squashfs from the base snap. The reason this happens is because of the flaw in the following pseudo-code logic in snap-update-ns:

- unmount $path
- statfs $path
- if squashfs, then bail (it is read only)
- remove $path

What happens is that this is done inside a container so all the checks for squashfs fail, as we see FUSE instead. I need to adjust snap-update-ns to cope with that.