Error when starting copy to disk due to processes accessing /var/log
Bug #1926137 reported by
Alfonso Sanchez-Beato
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity |
New
|
Undecided
|
Unassigned | ||
casper (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Installation fails when subiquity starts copying to disk due to some process accessing /var/log. The full crash log is
https:/
The error happens only if re-installing on top of an already partitioned disk. I am using version 21.04.2+
Oh I think what has happened here is that the sd card you are installing to has a partition with a filesystem with label 'writable' (maybe it has ubuntu core on it, or maybe it was used to hold the installer ISO when installing another system).
This causes casper to create directories on this file system and then bind-mount as /var/log and /var/crash. Then when curtin tries to delete this partition, the kernel understandably gets upset.
I'm not sure what we should do about this :(