[Bug 1450597] [NEW] usb-creator allows leftover squashfs data from other images
Mathieu Trudel-Lapierre
mathieu.tl at gmail.com
Thu Apr 30 19:07:06 UTC 2015
Public bug reported:
[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/filesystem.squashfs file from the desktop image will confuse server installations and cause them to fail in various ways since it may not contain everything required by d-i to do the server installation. This is traditionally experienced as a "apt-install or in-target are already running" error message in syslog (and accompanying failure) sometime during the install.
[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.
** Affects: usb-creator (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to usb-creator in Ubuntu.
https://bugs.launchpad.net/bugs/1450597
Title:
usb-creator allows leftover squashfs data from other images
Status in usb-creator package in Ubuntu:
New
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/filesystem.squashfs file from the desktop image will confuse server installations and cause them to fail in various ways since it may not contain everything required by d-i to do the server installation. This is traditionally experienced as a "apt-install or in-target are already running" error message in syslog (and accompanying failure) sometime during the install.
[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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1450597/+subscriptions
More information about the foundations-bugs
mailing list