[Bug 1762595] [NEW] Thunar incorrectly thinks USB storage device hasn't finished ejecting

Launchpad Bug Tracker 1762595 at bugs.launchpad.net
Sun Jun 24 16:12:44 UTC 2018


You have been subscribed to a public bug by Sean Davis (bluesabre):

[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://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status

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.

** Affects: gvfs (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: gvfs (Arch Linux)
     Importance: Undecided
     Assignee: Evangelos Foutras (foutrelis)
         Status: Fix Released


** Tags: bionic
-- 
Thunar incorrectly thinks USB storage device hasn't finished ejecting
https://bugs.launchpad.net/bugs/1762595
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list