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

Nish Aravamudan nish.aravamudan at gmail.com
Tue Jun 26 17:14:49 UTC 2018


** Also affects: gvfs (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: gvfs (Ubuntu Cosmic)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1762595

Title:
  Thunar incorrectly thinks USB storage device hasn't finished ejecting

Status in gvfs package in Ubuntu:
  New
Status in gvfs source package in Bionic:
  New
Status in gvfs source package in Cosmic:
  New
Status in gvfs package in Arch Linux:
  Fix Released

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://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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1762595/+subscriptions



More information about the Ubuntu-sponsors mailing list