Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 481526 - sys-fs/udisks - - udisks --detach /dev/sdb: Detach failed: Error detaching: helper exited with exit code 1: USB device: /sys/devices/pci0000:00/0000:00:02.0/usb2/2-6) SYNCHRONIZE CACHE: FAILED: No such file or directory
Summary: sys-fs/udisks - - udisks --detach /dev/sdb: Detach failed: Error detaching: h...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-18 09:56 UTC by A. Person
Modified: 2015-07-04 17:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description A. Person 2013-08-18 09:56:13 UTC
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 *
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-08-18 13:55:28 UTC
What does gnome-base/gvfs have to do with running `udisks' from sys-fs/udisks?
Comment 2 A. Person 2013-08-18 16:41:50 UTC
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
Comment 3 A. Person 2013-08-20 08:08:12 UTC
Can anyone recommend a workaround or a hack?  This is causing some problems for my organization.
Comment 4 Pacho Ramos gentoo-dev 2015-07-04 17:02:43 UTC
Please try with a fully updated system (gvfs will now use udisks2, that is the one that is still being developed and fixed)