From owner-freebsd-gnome@FreeBSD.ORG Mon Apr 16 12:53:38 2007 Return-Path: X-Original-To: freebsd-gnome@freebsd.org Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3C77416A402 for ; Mon, 16 Apr 2007 12:53:38 +0000 (UTC) (envelope-from marcus@freebsd.org) Received: from av-tac-rtp.cisco.com (hen.cisco.com [64.102.19.198]) by mx1.freebsd.org (Postfix) with ESMTP id C7BC613C44B for ; Mon, 16 Apr 2007 12:53:37 +0000 (UTC) (envelope-from marcus@freebsd.org) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost [127.0.0.1]) by av-tac-rtp.cisco.com (8.11.7p3+Sun/8.11.7) with ESMTP id l3GCrWb28998; Mon, 16 Apr 2007 08:53:32 -0400 (EDT) Received: from [64.102.202.49] (dhcp-64-102-202-49.cisco.com [64.102.202.49]) by rooster.cisco.com (8.11.7p3+Sun/8.11.7) with ESMTP id l3GCrSq13156; Mon, 16 Apr 2007 08:53:32 -0400 (EDT) Message-ID: <462371C9.7040903@freebsd.org> Date: Mon, 16 Apr 2007 08:53:29 -0400 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: Volker References: <462356A9.2070604@vwsoft.com> In-Reply-To: <462356A9.2070604@vwsoft.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-gnome@freebsd.org Subject: Re: gnome-mount unmount problem X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 12:53:38 -0000 Volker wrote: > Hi again... > > While I've experienced trouble with gnome-mount, I probably shot > myself into the foot (or have found another gnome-mount bug?). > > When logging into gdm, gnome-mount is mounting all volumes it can > find (can this be configured in any way?). When trying to unmount > such an automounted volume, I'm getting: > > gnome-mount --no-ui --block --unmount --verbose --device > /dev/label/xchange > gnome-mount 0.6 > libhal-storage.c 1330 : INFO: called LIBHAL_FREE_DBUS_ERROR but > dbusError was not set. > ** (gnome-mount:1402): DEBUG: Unmounting > /org/freedesktop/Hal/devices/volume_uuid_DB29_8A68 > ** (gnome-mount:1402): DEBUG: Setting up 750ms timer for Flushing > Cache dialog > ** (gnome-mount:1402): DEBUG: in unmount_done : user_data = 0x0 > > ** (gnome-mount:1402): WARNING **: Unmount failed for > /org/freedesktop/Hal/devices/volume_uuid_DB29_8A68: > org.freedesktop.Hal.Device.Volume.PermissionDenied : Volume mounted > by uid UNKNOWN cannot be unmounted by uid 1001. > > This is the same with any automounted volume (either FAT, NTFS). I'm > always getting "...mounted by uid UNKNOWN...". > > Unmounting these gnome automounted volumes as root, gives me the > chances to manually mount and unmount them properly from the panel. > These mounts are really done by gnome, as I've checked the mount > status before logging into gdm. > > Last week while trying to find a solution for the gnome-mount NTFS > problem, I've changed polkitd and hal permissions to > Allow=gid:operator but AFAIR this has been the only change. As there > are not many settings for HAL, polkit and gnome-mount, I'm not quite > sure if this is my mistake or if it's a bug. > > Any hints on how to hunt this? What version of hal do you have installed, and when did you last restart it? Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome