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

Summary: "Write to disk" needs to be pressed twice on drives with mounted partitions
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: liveusb-creatorAssignee: Luke Macken <lmacken>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: bcl, lmacken, mbriza, pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-27 09:55:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1310542    

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.