I have installed hald,udev,ivman and succesfuly start them.
When I plug an USB-stick in, ivman mounts it in /media/sdb1.
As non-root user I can acces files on it, read it, write...
but when I want to "umount /media/sdb1", it says
"umount: /media/sdb1 is not mounted (according to mtab)".
Only root can successfuly unmount it.
Note 1: there are no entries related to /dev/sdb1 or /media/sdb1 in /etc/fstab
Note 2: user is member of plugdev group
Note 3: creating file /usr/share/hal/fdi/95userpolicy/mypolicy.fdi
<?xml version="1.0" encoding="ISO-8859-1"?>
<merge key="storage.policy.default.mount_option.users" type="bool">true</merge>
(and restarting dbus+hald+ivman)
did not help.
gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686
* should I post more info?
* would ivman/hal downgrade help?
Ivman is probably mounting using pmount, and hence pumount must be used to unmount.
if so, then gnome disk mounter applet should
use pumount too.
If you have to use some other programs which need a specific mount or umount command for compatibility, you can set commands in IvmConfigBase.xml.
when I set pmount and pumount as mount/umount commands in IvmConfigBase.xml,
gnome disk mounter applet cannot umount the volume, it displays: "... was not mounted by you"
...and when I set "mount" and "umount" as mount/umount commands, it cannot
mount anything without an appropriate entry in fstab
I'm seeing the very same symptoms with KDE/KDE Mediamanager (HAL) as well recently. I have no idea what has caused this, though.
I believe it is written in documentation that if you want to be able to unmount the device, you need to start a user instance of ivman. Thus the device is mounted with your uid so only you have access to the data from the disc, and pumount can unmount it.
If you look to the man page of punmount, it can only unmount if the device was mounted with your uid.
As a bonus, when running a user instance of ivman, the mount point is the correct one, like /media/USBDISK, and not /media/sdb1.
So my oppinion is that this isn't a bug.
It is not a bug, it is a feature :)