Thunar incorrectly thinks USB storage device hasn't finished ejecting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gvfs (Arch Linux) |
Fix Released
|
Undecided
|
Evangelos Foutras | ||
gvfs (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Bionic |
Fix Released
|
High
|
Unassigned | ||
Cosmic |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
* This bug affects Thunar, and likely other file managers relying on udisks2.
* When ejecting a USB disk, the disk ejects normally. However, Thunar does not detect that it was successfully ejected.
* The "Writing data to device" notification will be displayed for some time.
* Eventually, Thunar pops up an error dialog saying 'Failed to eject "<filesystem label>". Timeout was reached.'
* Thunar will sometimes also exit at this point.
* It has been determined that the upstream patch included in this upload resolves this error.
[Test Case]
1. Mount a partition of a USB hard disk or flash drive.
2. Using the eject button in the Thunar window sidebar, eject the mounted partition of the USB HDD.
3. The disk will spin down and eject normally. The "Writing data to device" notification will be displayed until an error dialog saying 'Failed to eject "<filesystem label>". Timeout was reached.'
[Regression Potential]
* Regression potential is very minimal. The patch is from upstream gvfs, contains a single line change, and applies only to the drive stopping event.
[Original Report]
$ lsb_release -rd
Description: Ubuntu 18.04 LTS
Release: 18.04
$ apt-cache policy thunar
thunar:
Installed: 1.6.15-0ubuntu1
Candidate: 1.6.15-0ubuntu1
Version table:
*** 1.6.15-0ubuntu1 500
500 http://
100 /var/lib/
Steps to reproduce:
1) Mount a partition of a USB harddisk
2) Using the eject button in the Thunar window sidebar, eject the mounted partition of the USB HDD.
3) After the USB HDD is ejected and spins down, unplug it
.
At (2), the disk ejects normally. But Thunar thinks it hasn't been ejected and is still trying to eject. The "Writing data to device" notification continues to display. Eventually, Thunar pops up an error dialog saying 'Failed to eject "<filesystem label>". Timeout was reached.' Sometimes Thunar will exit after this.
Same thing happens with some USB flash drives, so the bug can also be tested with a pendrive.
description: | updated |
summary: |
- Thunar incorrectly thinks USB hard disk hasn't finished ejecting + Thunar incorrectly thinks USB storage device hasn't finished ejecting |
description: | updated |
description: | updated |
description: | updated |
no longer affects: | thunar (Ubuntu) |
Status changed to 'Confirmed' because the bug affects multiple users.