From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C2ABC1381F3 for ; Sat, 17 Aug 2013 19:21:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF4ACE0BEB; Sat, 17 Aug 2013 19:20:55 +0000 (UTC) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com [209.85.215.47]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4ACA8E0B14 for ; Sat, 17 Aug 2013 19:20:53 +0000 (UTC) Received: by mail-la0-f47.google.com with SMTP id eo20so2389571lab.34 for ; Sat, 17 Aug 2013 12:20:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=RAm/JQT+5ROD5RPunofYuB5qZD8ndrsuEsYh+OX3bNU=; b=0OaUAhiRTlHmf06ZCbwt2sV1hKz7L7lOWTFIjLL1ir3bLrory+rFjiY/1AG3bzMYtT hhOb2qHTnYSQ2/naLyxEZeZYR/E2ljiVbKtJPea02KwgSRs6yiwW6TJ0OYuxt/4EX2xN 1R1PtgbzeUDIrOJUbyGiPBzUjxhAFoPj4HgEVAzeGXkeoRUn1ILc6yLgHRoB5DTmj6y7 iIYSIvThDHl1SClaGxtlgVhKWrkRsYp3OQVdMoPUArvXCzqpyDJDE2EyMES5KSs47DAv depz48thFUnDOm3OfOZs9v9S33atDX+rsGr5EfyISBTePDhSrepG3a7c/TnbgPz4Ni5X tJvw== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.152.8.115 with SMTP id q19mr4060568laa.16.1376767252553; Sat, 17 Aug 2013 12:20:52 -0700 (PDT) Received: by 10.114.96.2 with HTTP; Sat, 17 Aug 2013 12:20:52 -0700 (PDT) In-Reply-To: References: <520F3550.60907@gmail.com> Date: Sat, 17 Aug 2013 14:20:52 -0500 Message-ID: Subject: Re: [gentoo-user] Re: Advice needed regarding udisks From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 084a2714-6a86-4400-9639-536f583ad197 X-Archives-Hash: 9fed59bab6d523f9a5286be54adae0c9 On Sat, Aug 17, 2013 at 2:00 PM, Grant wrote: >>>>> 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 ? >=3Dsys-fs/udisks-1.90:2) > gnome-base/libgdu-3.0.2 (=3Dsys-fs/udisks-1.0*:0) > > # emerge -pv gvfs libgdu > [ebuild R ] gnome-base/libgdu-3.0.2 USE=3D"-avahi -doc -gnome-keyri= ng" 0 kB > [ebuild R ] gnome-base/gvfs-1.12.3-r1 USE=3D"cdda gdu http udev > -afp -archive -avahi -bluetooth -bluray -doc -fuse -gnome-keyring > -gphoto2 -ios -samba (-udisks)" 0 kB Why is the udisks USE flag masked for gvfs? Try to emerge -C sys-fs/udisks:0, and reemerge gvfs with USE=3D"-gdu udisks". If you get to emerge gvfs with the udisks USE flag and without the gdu one, I believe your problem will go away. Regards. --=20 Canek Pel=C3=A1ez Vald=C3=A9s Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n Universidad Nacional Aut=C3=B3noma de M=C3=A9xico