I need to enable the udisks USE flag for gvfs in order to fix this error: # udisks --detach /dev/sdb Detach failed: Error detaching: helper exited with exit code 1: Detaching device /dev/sdb USB device: /sys/devices/pci0000:00/0000:00:02.0/usb2/2-6) SYNCHRONIZE CACHE: FAILED: No such file or directory (Continuing despite SYNCHRONIZE CACHE failure.) STOP UNIT: FAILED: No such file or directory Why is the udisks USE flag blocked? # emerge -pv gvfs [ebuild R ] gnome-base/gvfs-1.12.3-r1 USE="cdda gdu http udev -afp -archive -avahi -bluetooth -bluray -doc -fuse -gnome-keyring -gphoto2 -ios -samba (-udisks)" 0 kB # grep -r udisks /etc/portage/ # # eselect profile list [3] default/linux/amd64/13.0/desktop *
What does gnome-base/gvfs have to do with running `udisks' from sys-fs/udisks?
The real problem is that I get an identical error when trying to eject a USB camera in thunar in xfce4. I thought the udisks command would be a better way to illustrate it since the error is the same. thunar depends on gvfs but gvfs can't use udisks because of the blocked USE flag. This Ubuntu bug describes the problem and states that upgrading to udisks-2 is the solution (comments 81, 82, 85): https://bugs.launchpad.net/ubuntu/+source/udisks/+bug/466575
Can anyone recommend a workaround or a hack? This is causing some problems for my organization.
Please try with a fully updated system (gvfs will now use udisks2, that is the one that is still being developed and fixed)