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 BBCEF1381F3 for ; Mon, 19 Aug 2013 09:43:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9280CE0DD3; Mon, 19 Aug 2013 09:43:20 +0000 (UTC) Received: from mail-we0-f178.google.com (mail-we0-f178.google.com [74.125.82.178]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6B5B0E0DC7 for ; Mon, 19 Aug 2013 09:43:19 +0000 (UTC) Received: by mail-we0-f178.google.com with SMTP id u54so667062wes.9 for ; Mon, 19 Aug 2013 02:43:18 -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=ir7W96ipJGxPBSHfxGx2F8S4K9i+x3pQ+WzFgTSxCNg=; b=WnM/E8MgkzYkdJNXZ2uvLOiMS0JQD1zUK7jYpH6fkJWj1aKCb1oy5qMjEztB3jMnl9 hl0EQKGiK2uTqmZSI9E00w13e2anbwFG6t3CgNiEAs/E51U44t1SGUyRUfuRCdpTFs34 CvqpfmUv4g+rThnZMr2QJYQYzLS8NvRidWogyDb0BzZkFkTow52xs1J03FZmEtFJxfUE XWehvpUoHYV/HlTWf5rSKHO5GkdV2iIrmqzdIKqYTIOtOHlX19S/ttawLqYx4iz2ioE0 jur1LXPxmsFL0AQTUr4Z3bxgUm6UShn15QlUu9+Lvvv5chfGeGIrOCZHeEijhTpHSQNN pfJw== 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 m8mr7580195wib.31.1376905397950; Mon, 19 Aug 2013 02:43:17 -0700 (PDT) Received: by 10.194.104.199 with HTTP; Mon, 19 Aug 2013 02:43:17 -0700 (PDT) In-Reply-To: <5211DFCC.8060707@gmail.com> References: <520F3550.60907@gmail.com> <520FCED0.8030205@gmail.com> <52109205.5090207@gmail.com> <52110859.30402@gentoo.org> <5211C84F.3010103@gmail.com> <5211DFCC.8060707@gmail.com> Date: Mon, 19 Aug 2013 02:43:17 -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: 645bd7c9-2052-4608-8c63-9c06b0ca8192 X-Archives-Hash: 307c6c09721eb2d574b140cbcffe7994 >>>>>>>>>> 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 >>>>>>>>>> >>>>>>>>>> # 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. >>>>>>>>> >>>>>>>>> You need to find out why that happened, it might be a profile thing, maybe it's a local >>>>>>>>> config. Try >>>>>>>>> >>>>>>>>> grep -r udisks /etc/portage/ >>>>>>>> >>>>>>>> Nothing comes back from that grep. My profile is default/linux/amd64/13.0/desktop. What >>>>>>>> else could be preventing me from enabling that USE flag? >>>>>>> >>>>>>> It might be masked by the profile. As I understand it, recent EAPIs allow USE flags to be >>>>>>> forced per-profile. This makes sense - a dev might enable USE=udev everywhere except on >>>>>>> gentoo-freebsd profiles, just as an example. But I'm not yet up to speed on how to detect and >>>>>>> over-ride such things. >>>>>>> >>>>>>> I think you should log a bug now at b.g.o. and let the devs tell you what's really going on >>>>>>> with your selections. >>>>>> >>>>>> Will do, and I'll report back with the results. >>>>>> >>>>>> Thanks, Grant >>>>>> >>>>> >>>>> - From $PORTDIR/profiles/base/package.use.mask: >>>>> >>>>> # GNOME (02 Oct 2012) >>>>> # Mask USE="udisks" and use USE="gdu" as the default for >>>> # older gvfs releases have problems with recent stable udisks:2 (bug #463792) >>>>> >>> >>>> OK, there it is. If I keyword gvfs I get into trouble because >>>> gobject-introspection wants >>>> =dev-libs/glib-2.36. >>> >>> >>> Don't keyword gvfs, >>> >>> for gvfs: >>> >>> USE="-udisks gdu" >>> >>> gvfs doesn't care what does the automounting, as long as something does >> >> That's what I have now and I have this ejecting problem. Should I >> just emerge udisks-2 into a new slot? > > > I have a hunch that won't work and USE="udisks" is hard masked for gvfs. > Logic tells me that even if udisks:2 is available, gvfs won't use it. > > But, it's worth a try. I tried but no luck. I should hear from the maintainer soon. Another SLOT question. udisks:0 was installed and now udisks:2. What about slot #1? - Grant > I also think you need the maintainer to take a closer look - it all > looks like the ebuild needs some tweaking, or maybe it's just a magic > combination of USE that we missed.