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 9358E1381F3 for ; Fri, 23 Aug 2013 05:48:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE947E0C4E; Fri, 23 Aug 2013 05:48:13 +0000 (UTC) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9C9C4E0A02 for ; Fri, 23 Aug 2013 05:48:12 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id q59so138770wes.13 for ; Thu, 22 Aug 2013 22:48:11 -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; bh=FBA3gt4ZaSlW51eQnLo6fFZnqMghSIIqcMJ3T8HMbAE=; b=v4Ez41/2h3z7hP/Y4xWk3X3v/zPLtHSTJh8jwR9gBRshPiitvNRDERq2gY0sh/VUga YwzXLa+hql3TXogB0nmI16Jo1uaYTwT5+hDkmDlkMlqiVdgjrqih5fm1x7U4DPvSqYeK wvNcON7cxfOdp/N/VeSB7469O6E2LlciEiW1whLSnx1cn2GOvUV1HMipakHQJKrkS7RO GafPrlLNnzvK4FyHoBP47sYnyhfZig6nFykwj6YI9xUTIWCNsJ8BQPiXyOxgQZkvxhW/ 5uwvUuUHTydO4HB2uKLDN0vUrLsa82IdpJPGrrZgJHwaLbn4F+1oGgevxB740mGxVEbf 7E4w== 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.180.11.8 with SMTP id m8mr794397wib.31.1377236890008; Thu, 22 Aug 2013 22:48:10 -0700 (PDT) Received: by 10.194.93.199 with HTTP; Thu, 22 Aug 2013 22:48:09 -0700 (PDT) In-Reply-To: <520FCED0.8030205@gmail.com> References: <520F3550.60907@gmail.com> <520FCED0.8030205@gmail.com> Date: Thu, 22 Aug 2013 22:48:09 -0700 Message-ID: Subject: Re: [gentoo-user] Re: Advice needed regarding udisks From: Grant To: Gentoo mailing list Content-Type: text/plain; charset=ISO-8859-1 X-Archives-Salt: ad306294-4306-4dd0-a8f2-792e940d8a68 X-Archives-Hash: a0ac0287310615ed0ba80553d0a79a0e >>>>>> 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