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 6FD121381F3 for ; Mon, 19 Aug 2013 07:28:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0256BE0C8D; Mon, 19 Aug 2013 07:28:21 +0000 (UTC) Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com [74.125.83.41]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C36F0E0C44 for ; Mon, 19 Aug 2013 07:28:19 +0000 (UTC) Received: by mail-ee0-f41.google.com with SMTP id d17so1982497eek.14 for ; Mon, 19 Aug 2013 00:28:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=7DB4eyDXhAbobmxPZcL3cG260JJO3glhD6JFKYldt00=; b=F9nB5Kca5f8EByPHcIVSzHB/xamr6qKDHKBR/EfZRcGPIf+hL/2OYK7C2F+//r/7cA Mgulp8OH3e7SzMpZo37fNRZgL4xIjEKbWJgWmvgsXYFRqyinPt9o+BtiBslpnxpAyJzV bMwTCiEOsn2MVhHOUvJI6gCbkrO5/rDNtpOQ+WQROuDaD0vxykgL0rVW/EM+hS8UIKzd dThu9kuYg2AvGNXVODrRqW77kbRFdlmTTP4nEtN+87LjP1GkJvEyVaKs20igU88FSVfr vdEPjM6jJWad0kpbP661lplpoE3n0WluDvy0i9OrLZifF99aKoFbLR2+9+hebn0MurP9 5G+Q== X-Received: by 10.14.103.69 with SMTP id e45mr1370634eeg.51.1376897298316; Mon, 19 Aug 2013 00:28:18 -0700 (PDT) Received: from [10.1.20.201] (dustpuppy.is.co.za. [196.14.169.11]) by mx.google.com with ESMTPSA id t6sm15279329eel.12.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 19 Aug 2013 00:28:17 -0700 (PDT) Message-ID: <5211C84F.3010103@gmail.com> Date: Mon, 19 Aug 2013 09:25:03 +0200 From: Alan McKinnon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130809 Thunderbird/17.0.8 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Advice needed regarding udisks References: <520F3550.60907@gmail.com> <520FCED0.8030205@gmail.com> <52109205.5090207@gmail.com> <52110859.30402@gentoo.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 1d2ce6a8-1c17-4d30-866b-ed7bdacbd574 X-Archives-Hash: 92eff3f2b5b845a47844bd1f74c8bf98 On 19/08/2013 09:17, Grant wrote: >>>>>>> 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 -- Alan McKinnon alan.mckinnon@gmail.com