public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Grant <emailgrant@gmail.com>
To: Gentoo mailing list <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] Re: Advice needed regarding udisks
Date: Thu, 22 Aug 2013 22:48:09 -0700	[thread overview]
Message-ID: <CAN0CFw3jD_Bs_TkcaK9KYKhY7UvLkKFvb0+=aBo02hygmfqyBg@mail.gmail.com> (raw)
In-Reply-To: <520FCED0.8030205@gmail.com>

>>>>>> This is actually a portage question.  How can I install udisks-2 in a
>>>>>> way that will fix this problem?  I'm confused by how to handle the
>>>>>> slotting behavior.
>>>
>>> I think the issue here is that we are not understanding what the
>>> problem is. It happens with an application in particular, or with a
>>> desktop environment? It happens when you try to umount the device, or
>>> when you disconnect it from the computer? Do you loose data in the
>>> camera, or when transferring photos to your computer? Or is only that
>>> you don't like the error reported?
>>
>> When trying to eject a USB camera in thunar in xfce4, the error
>> appears and the device does not umount.  Here is a command that also
>> produces the 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
>>
>>> udisks is deprecated and (AFAIK) unmaintained. Do you *really* need
>>> it? Or perhaps is being pulled by a package that actually supports
>>> udisks2, but you have a USE flag that pulls udisks1?
>>>
>>> In GNOME, if you have gvfs with the gdu USE flag, it pulls libgdu,
>>> which pulls udisks1. But you don't actually need it; everything is
>>> covered by the udisks USE flag (which pulls udisks2).
>>>
>>> Do a "equery depends udisks" and see what is pulling udisks1.
>>
>> I get the following:
>>
>> # equery depends udisks
>>  * These packages depend on udisks:
>> gnome-base/gvfs-1.12.3-r1 (udisks ? >=sys-fs/udisks-1.90:2)
>> gnome-base/libgdu-3.0.2 (=sys-fs/udisks-1.0*:0)
>>
>> # emerge -pv gvfs libgdu
>> [ebuild   R    ] gnome-base/libgdu-3.0.2  USE="-avahi -doc -gnome-keyring" 0 kB
>> [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
>                         ^^^^^^^
>
> There's your problem.
>
> thunar depends on gvfs, which can use udisks, but in your case the USE
> flag is forced, masked, or removed.

No help from B.G.O. yet and I'm wondering if I should update libgdu to
see if that fixes it.  Is libgdu the same thing as gnome-disk-utility?
 If so, the latest version is 3.9.0 compared to 3.0.2 in portage:

https://git.gnome.org/browse/gnome-disk-utility/

Alternatively, should I try hacking the ebuild to unmask the udisks USE flag?

- Grant


  parent reply	other threads:[~2013-08-23  5:48 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-16 13:09 [gentoo-user] Advice needed regarding udisks Grant
2013-08-17  7:57 ` [gentoo-user] " Grant
2013-08-17  8:33   ` Alan McKinnon
2013-08-17 18:03     ` Grant
2013-08-17 18:15       ` Canek Peláez Valdés
2013-08-17 19:00         ` Grant
2013-08-17 19:20           ` Canek Peláez Valdés
2013-08-17 19:28           ` Alan McKinnon
2013-08-18  7:33             ` Grant
2013-08-18  9:21               ` Alan McKinnon
2013-08-18  9:50                 ` Grant
2013-08-18 17:46                   ` Jonathan Callen
2013-08-19  7:17                     ` Grant
2013-08-19  7:25                       ` Alan McKinnon
2013-08-19  8:25                         ` Grant
2013-08-19  9:05                           ` Alan McKinnon
2013-08-19  9:43                             ` Grant
2013-08-19  9:49                               ` Alan McKinnon
2013-08-19  7:28                       ` Canek Peláez Valdés
2013-08-23  5:48             ` Grant [this message]
2013-08-20  5:40           ` Samuli Suominen
2013-08-20  6:21             ` Grant
2013-08-23 15:15               ` Samuli Suominen
2013-08-24  5:39                 ` Grant
2013-08-24 11:20                   ` Samuli Suominen
2013-08-24 12:43                     ` Grant
2013-08-24 13:14                       ` Marc Joliet
2013-08-24 14:44                         ` Grant
2013-08-17 18:22       ` Alan McKinnon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAN0CFw3jD_Bs_TkcaK9KYKhY7UvLkKFvb0+=aBo02hygmfqyBg@mail.gmail.com' \
    --to=emailgrant@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox