From owner-freebsd-gnome@FreeBSD.ORG Mon Apr 16 10:58:14 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 02A5F16A404 for ; Mon, 16 Apr 2007 10:58:14 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from frontmail.ipactive.de (frontmail.maindns.de [85.214.95.103]) by mx1.freebsd.org (Postfix) with ESMTP id 988A013C44B for ; Mon, 16 Apr 2007 10:58:11 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from mail.vtec.ipme.de (Q7caf.q.ppp-pool.de [89.53.124.175]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by frontmail.ipactive.de (Postfix) with ESMTP id C7DC6128829 for ; Mon, 16 Apr 2007 12:58:04 +0200 (CEST) Received: from [192.168.16.3] (cesar.sz.vwsoft.com [192.168.16.3]) by mail.vtec.ipme.de (Postfix) with ESMTP id 0A2A53F4E8 for ; Mon, 16 Apr 2007 12:57:37 +0200 (CEST) Message-ID: <462356A9.2070604@vwsoft.com> Date: Mon, 16 Apr 2007 12:57:45 +0200 From: Volker User-Agent: Thunderbird 1.5.0.10 (X11/20070306) MIME-Version: 1.0 To: freebsd-gnome@freebsd.org X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-VWSoft-MailScanner: Found to be clean X-MailScanner-From: volker@vwsoft.com X-ipactive-MailScanner-Information: Please contact the ISP for more information X-ipactive-MailScanner: Found to be clean X-ipactive-MailScanner-From: volker@vwsoft.com Subject: 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 10:58:14 -0000 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? Ports + system is recent, 6-STABLE. Thanks, Volker %id uid=1001(vwerth) gid=1001(puser) groups=1001(puser),0(wheel),5(operator),1002(user) %pkg_info | grep mount gnome-mount-0.6_2 A front-end to mount, umount, and eject using HAL gnome-volume-manager-2.17.0_3 Automatically mount removable media, and more PS: If you need another `lshal' or any other output, please drop me a note.