Comment 3 for bug 103790

Revision history for this message
9johnny (s.j.) wrote :

I'm not sure it can be closed, I am experiencing the same thing. Why should one have to be root to unmount an USB external hdd with HAL/dbus, and why should not being in the group plugdev suffice? I am not sure this is permissions related, as if I look at it right, my hdd gets unmounted, but it gets remounted right away, I here attach the output of syslog when I try to unmount the external hdd with hal. This disk has 3 partitions, two ext3 and one fat.

===snip===
Apr 8 00:53:56 minitux hald: unmounted /dev/sdb4 from '/media/disk-1' on behalf of uid 1000
Apr 8 00:53:56 minitux hald: unmounted /dev/sdb2 from '/media/disk' on behalf of uid 1000
Apr 8 00:53:56 minitux hald: unmounted /dev/sdb1 from '/media/BACKUP' on behalf of uid 1000
Apr 8 00:53:56 minitux NetworkManager: <debug info>^I[1175986436.713312] nm_hal_device_removed (): Device removed (hal udi is '/org/freedesktop/Hal/devices/volume_uuid_ECB6_7B49').
Apr 8 00:53:56 minitux kernel: [43029.368000] SCSI device sdb: 78140160 512-byte hdwr sectors (40008 MB)
Apr 8 00:53:56 minitux NetworkManager: <debug info>^I[1175986436.715179] nm_hal_device_removed (): Device removed (hal udi is '/org/freedesktop/Hal/devices/volume_uuid_2fa84716_fd9b_4d17_8e34_2b9062d949a5').
Apr 8 00:53:56 minitux NetworkManager: <debug info>^I[1175986436.716914] nm_hal_device_removed (): Device removed (hal udi is '/org/freedesktop/Hal/devices/volume_uuid_317c98a0_421e_4f83_a7f5_3ca129023686').
Apr 8 00:53:56 minitux NetworkManager: <debug info>^I[1175986436.718397] nm_hal_device_removed (): Device removed (hal udi is '/org/freedesktop/Hal/devices/volume_uuid_517f56cc_7d22_424c_a2c1_2b2bb3202ce6').
Apr 8 00:53:56 minitux kernel: [43029.380000] sdb: test WP failed, assume Write Enabled
Apr 8 00:53:56 minitux kernel: [43029.380000] sdb: assuming drive cache: write through
Apr 8 00:53:56 minitux kernel: [43029.380000] sdb: sdb1 sdb2 sdb3 sdb4
Apr 8 00:53:57 minitux NetworkManager: <debug info>^I[1175986437.083218] nm_hal_device_added (): New device added (hal udi is '/org/freedesktop/Hal/devices/volume_uuid_317c98a0_421e_4f83_a7f5_3ca129023686').
Apr 8 00:53:57 minitux NetworkManager: <debug info>^I[1175986437.307414] nm_hal_device_added (): New device added (hal udi is '/org/freedesktop/Hal/devices/volume_uuid_ECB6_7B49').
Apr 8 00:53:57 minitux NetworkManager: <debug info>^I[1175986437.364524] nm_hal_device_added (): New device added (hal udi is '/org/freedesktop/Hal/devices/volume_uuid_2fa84716_fd9b_4d17_8e34_2b9062d949a5').
Apr 8 00:53:57 minitux hald: mounted /dev/sdb1 on behalf of uid 1000
Apr 8 00:53:57 minitux NetworkManager: <debug info>^I[1175986437.492802] nm_hal_device_added (): New device added (hal udi is '/org/freedesktop/Hal/devices/volume_uuid_517f56cc_7d22_424c_a2c1_2b2bb3202ce6').
Apr 8 00:53:57 minitux kernel: [43030.172000] kjournald starting. Commit interval 5 seconds
Apr 8 00:53:57 minitux kernel: [43030.172000] EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
Apr 8 00:53:57 minitux kernel: [43030.172000] EXT3 FS on sdb2, internal journal
Apr 8 00:53:57 minitux kernel: [43030.172000] EXT3-fs: mounted filesystem with ordered data mode.
Apr 8 00:53:57 minitux hald: mounted /dev/sdb2 on behalf of uid 1000
Apr 8 00:53:57 minitux kernel: [43030.236000] kjournald starting. Commit interval 5 seconds
Apr 8 00:53:57 minitux kernel: [43030.236000] EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
Apr 8 00:53:57 minitux kernel: [43030.236000] EXT3 FS on sdb4, internal journal
Apr 8 00:53:57 minitux kernel: [43030.236000] EXT3-fs: mounted filesystem with journal data mode.
Apr 8 00:53:57 minitux hald: mounted /dev/sdb4 on behalf of uid 1000
===snip===