usb-creator allows leftover squashfs data from other images
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
usb-creator (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Users of usb-creator do not necessarily always hit "Erase Disk" in usb-creator before having it copy a new image to a USB drive. This can lead to leftover files which interfere with the installation process. For example, a casper/
[Test Case]
Requires: a blank usb drive.
1- Install any recent Desktop image to a USB drive with usb-creator
2- Immediately install a Server image to the same USB drive with usb-creator
3- Run the server install
Expected result:
The installation should complete successfully.
Result without the fix:
The installation fails to complete. "apt-install or in-target is already running..." messages appear in syslog.
[Regression Potential]
This forcibly directories known to contain squashfs filesystem data used by Debian and Ubuntu installers and live images. These directories are (at the time this bug is filed) defined as "casper" for desktop images, "install" for server images, and "live" in Debian. Since the entire directory is removed; any files previously copied there by a user making use of the USB drive's structure coming from install or live images will be deleted.
http:// bazaar. launchpad. net/~usb- creator- hackers/ usb-creator/ trunk/revision/ 471