Public bug reported:

Binary package hint: kdebase

choosing mount for my external usb drive in dolphin or executing
/usr/bin/kio_media_mounthelper -m media:/sda1
I get the following in ~/.xsession-errors:

kded: ERROR: mount failed for 
/org/freedesktop/Hal/devices/volume_uuid_b4a55d59_873b_42e8_9e01_9e86bab503fe: 
org.freedesktop.Hal.Device.Volume.PermissionDenied - Device /dev/sda1 is listed 
in /etc/fstab. Refusing to mount.
kded: ERROR: mounting 
/org/freedesktop/Hal/devices/volume_uuid_b4a55d59_873b_42e8_9e01_9e86bab503fe 
returned Berechtigungen verweigert

This is my /etc/fstab entry:
UUID=b4a55d59-873b-42e8-9e01-9e86bab503fe    /media/backup  ext3  
defaults,user,rw,user_xattr,noatime,noauto 0 0

If I change the fstab from UUID to /dev/ entry everything is ok and the drive 
gets mounted:
/dev/sda1    /media/backup  ext3  defaults,user,rw,user_xattr,noatime,noauto 0 0


Output from lshal for this drive:
udi = 
'/org/freedesktop/Hal/devices/volume_uuid_b4a55d59_873b_42e8_9e01_9e86bab503fe'
  block.device = '/dev/sda1'  (string)
  block.is_volume = true  (bool)
  block.major = 8  (0x8)  (int)
  block.minor = 1  (0x1)  (int)
  block.storage_device = 
'/org/freedesktop/Hal/devices/storage_serial_WDC_WD25_00JB_55REA0_DEF10C579163_0_0'
  (string)
  info.capabilities = {'volume', 'block'} (string list)
  info.category = 'volume'  (string)
  info.interfaces = {'org.freedesktop.Hal.Device.Volume'} (string list)
  info.parent = 
'/org/freedesktop/Hal/devices/storage_serial_WDC_WD25_00JB_55REA0_DEF10C579163_0_0'
  (string)
  info.product = 'backup'  (string)
  info.udi = 
'/org/freedesktop/Hal/devices/volume_uuid_b4a55d59_873b_42e8_9e01_9e86bab503fe' 
 (string)
  linux.fstab.mountpoint = '/media/backup'  (string)
  linux.fstab.options = 'defaults,user,rw,user_xattr,noatime,noauto'  (string)
  linux.hotplug_type = 3  (0x3)  (int)
  linux.sysfs_path = '/sys/block/sda/sda1'  (string)
  org.freedesktop.Hal.Device.Volume.method_argnames = {'mount_point fstype 
extra_options', 'extra_options', 'extra_options'} (string list)
  org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-mount', 
'hal-storage-unmount', 'hal-storage-eject'} (string list)
  org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount', 
'Eject'} (string list)
  org.freedesktop.Hal.Device.Volume.method_execpaths = {'hal-storage-mount', 
'hal-storage-unmount', 'hal-storage-eject'} (string list)
  org.freedesktop.Hal.Device.Volume.method_names = {'Mount', 'Unmount', 
'Eject'} (string list)
  org.freedesktop.Hal.Device.Volume.method_signatures = {'ssas', 'as', 'as'} 
(string list)
  storage.model = ''  (string)
  volume.block_size = 512  (0x200)  (int)
  volume.fstype = 'ext3'  (string)
  volume.fsusage = 'filesystem'  (string)
  volume.fsversion = '1.0'  (string)
  volume.ignore = false  (bool)
  volume.is_disc = false  (bool)
  volume.is_mounted = false  (bool)
  volume.is_mounted_read_only = false  (bool)
  volume.is_partition = true  (bool)
  volume.label = 'backup'  (string)
  volume.linux.is_device_mapper = false  (bool)
  volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime', 
'nodiratime', 'noexec', 'quiet', 'remount', 'exec', 'acl', 'user_xattr', 
'data='} (string list)
  volume.mount_point = ''  (string)
  volume.num_blocks = 488392002  (0x1d1c4542)  (int)
  volume.partition.flags = {} (string list)
  volume.partition.label = ''  (string)
  volume.partition.media_size = 250059350016  (0x3a38b2e000)  (uint64)
  volume.partition.number = 1  (0x1)  (int)
  volume.partition.scheme = 'mbr'  (string)
  volume.partition.start = 32256  (0x7e00)  (uint64)
  volume.partition.type = '0x83'  (string)
  volume.partition.uuid = ''  (string)
  volume.size = 250056705024  (0x3a388a8400)  (uint64)
  volume.unmount.valid_options = {'lazy'} (string list)
  volume.uuid = 'b4a55d59-873b-42e8-9e01-9e86bab503fe'  (string)

** Affects: kdebase (Ubuntu)
     Importance: Undecided
         Status: New

-- 
[gutsy] kio_media_mounthelper can not mount devices from /etc/fstab
https://bugs.launchpad.net/bugs/138484
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to