gnome-mount/hal/PK not working together

Joe Marcus Clarke marcus at FreeBSD.org
Sun Feb 22 18:21:52 PST 2009


I have a fixed NTFS partition that I'm trying to mount.  I am using PK
0.9, hal-0.5.11, and gnome-mount-0.8.  When I try to mount this volume
in either Nautilus or with gnome-mount directly, I get the pop-up asking
me for my password, I enter it, but the volume does not mount.  However,
my access policy is properly added, and visible in
polkit-gnome-authorization.

When I run gnome-mount manually, I see these messages:

** (gnome-mount:42805): DEBUG: Mounting /org/freedesktop/Hal/devices/volume_uuid_48F030E3F030D940
** (gnome-mount:42805): DEBUG: read default option '-m=755' from gconf strlist key /system/storage/default_options/ntfs/mount_options
** (gnome-mount:42805): DEBUG: Mounting /org/freedesktop/Hal/devices/volume_uuid_48F030E3F030D940 with mount_point='OS', fstype='', num_options=1
** (gnome-mount:42805): DEBUG:   option='-m=755'
** Message: Mount failed for /org/freedesktop/Hal/devices/volume_uuid_48F030E3F030D940
org.freedesktop.Hal.Device.PermissionDeniedByPolicy : org.freedesktop.hal.storage.mount-fixed auth_admin_keep_always <-- (action, result)

** (gnome-mount:42805): DEBUG: pk_action='org.freedesktop.hal.storage.mount-fixed' pk_result='auth_admin_keep_always'
** (gnome-mount:42805): DEBUG: gained privilege = 1
** (gnome-mount:42805): DEBUG: Mounting /org/freedesktop/Hal/devices/volume_uuid_48F030E3F030D940 with mount_point='', fstype='', num_options=1
** (gnome-mount:42805): DEBUG:   option='-m=755'
** Message: Mount failed for /org/freedesktop/Hal/devices/volume_uuid_48F030E3F030D940
org.freedesktop.Hal.Device.PermissionDeniedByPolicy : org.freedesktop.hal.storage.mount-fixed auth_admin_keep_always <-- (action, result)

** (gnome-mount:42805): DEBUG: pk_action='org.freedesktop.hal.storage.mount-fixed' pk_result='auth_admin_keep_always'
** (gnome-mount:42805): DEBUG: gained privilege = 0

Hal is hard-coded to see "yes" coming back from PK.  I can make fixed
mounting work if I change the default console policy to "Yes", but this
is not exactly desirable.

Since I'm not the only FreeBSD user seeing this, I was wondering if our
PK port was perhaps broken in some way.  Can anyone (David, maybe) point
me to something to check in our port, or is this a known limitation with
gnome-mount right now?

Joe

-- 
Joe Marcus Clarke
FreeBSD GNOME Team      ::      gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/hal/attachments/20090222/caeaf08e/attachment.pgp 


More information about the hal mailing list