Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1329995 - "Write to disk" needs to be pressed twice on drives with mounted partitions
Summary: "Write to disk" needs to be pressed twice on drives with mounted partitions
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: liveusb-creator
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Luke Macken
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1310542
TreeView+ depends on / blocked
 
Reported: 2016-04-25 09:03 UTC by Kamil Páral
Modified: 2016-09-20 02:47 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-27 09:55:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1328498 0 unspecified CLOSED partitions are not unmounted before writing image to a device, can lead to corrupted data written 2022-05-16 11:32:56 UTC

Internal Links: 1328498

Description Kamil Páral 2016-04-25 09:03:43 UTC
Description of problem:
This bug has been introduced when fixing bug 1328498. LUC reports that the "drive is in use" every time some partition is mounted, even if the partition gets unmounted fine. So right now, if you insert a flash drive and is automounted, the first time you click "Write to disk" you'll receive "drive is in use", and the second time you click on it, it starts writing. 100% reproducible.

So either there is a code sequence error:

  if mounted:
    print error
  unmount

instead of

  unmount
  if mounted:
    print error

or there is some race condition between unmounting finishing and LUC refreshing the mounted status.

Version-Release number of selected component (if applicable):
liveusb-creator-3.93.2-1.fc24.noarch

How reproducible:
100%

Steps to Reproduce:
1. insert a flash drive and mount some partition
2. make sure the partition is not being used, i.e. can be unmounted
3. in LUC click Write to disk
4. see error "Drive is in use" in LUC
5. see that the partitions were unmounted OK
6. click Write to disk again, see that writing starts

Comment 1 Kamil Páral 2016-04-27 09:55:44 UTC
This is now fixed with liveusb-creator-3.93.3-1.


Note You need to log in before you can comment on or make changes to this bug.