When running LiveUSB, LiveUSB itself should not be selectable as a target

Bug #269772 reported by probono
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
usb-creator (Ubuntu)
Fix Released
High
Unassigned
Nominated for Jaunty by Eddy
Nominated for Karmic by Eddy

Bug Description

Binary package hint: usb-creator

If I am running usb-creator FROM a live usb system, then the device I am running from should NOT be selectable as a target device since this will lead to a crash.

liveusb already takes care of that:
https://launchpad.net/liveusb

Revision history for this message
Evan (ev) wrote :

This is already the case by the nature of how usb-creator is designed. To put it another way, because usb-creator searches for devices with the storage.removable property set to true, it will never use the device the live system is running off of.

I've confirmed this in my own tests, but if the disk the live filesystem is running from is present in your tests, please reopen this bug report and print the result of the following command (where volume_uuid_D501_33B3 is the device in question):

dbus-send --system --print-reply --dest=org.freedesktop.Hal --type=method_call /org/freedesktop/Hal/devices/volume_uuid_D501_33B3 org.freedesktop.Hal.Device.GetAllProperties

Thanks

Changed in usb-creator:
status: New → Fix Released
Revision history for this message
probono (probono) wrote :

This bug is still present. I am running the 20081022 Live image from a Live USB stick. When I open the usb-creator, the USB stick I am running from is shown in the list of target devices. It should not! Please see the screenshot attached.

Revision history for this message
Evan (ev) wrote :

Confirmed, but unfortunately too late to fix for 8.10. It will have to wait until the start of the 9.04 cycle.

Changed in usb-creator:
importance: Undecided → High
milestone: none → later
status: Fix Released → Confirmed
Revision history for this message
Evan (ev) wrote :
Revision history for this message
Evan (ev) wrote :
Revision history for this message
Evan (ev) wrote :

I spoke with Scott about this and aufs seemingly nukes any information that would allow us to draw a connection between / and a block device in the live environment.

We could take the simple approach of watching out for devices mounted on /cdrom, but that strikes me as being too broad. Still, it's probably worth the risk, given how poorly writing to the block device containing the live filesystem will turn out.

hallen (hallen)
Changed in usb-creator (Ubuntu):
assignee: nobody → hallen (hallen)
hallen (hallen)
Changed in usb-creator (Ubuntu):
assignee: hallen (hallen) → nobody
summary: - The device the system is running from should not be selectable as a
+ When running LiveUSB, LiveUSB itself should not be selectable as a
target
CxuLo (culokbl)
Changed in usb-creator (Ubuntu):
status: Confirmed → Fix Released
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.