May 15, 2009

OpenSolaris Build 111a didn't show the icons for dynamically inserted CD, USB storage on the Gnome-Desktop recognized by HAL

Some time ago, I had used my CMX MP3 player to copy mp3 onto it by plugging in
via the USB port.
When the player is plugged in, the icon for the player is displayed on the desktop
automatically ( also with CDROM's inserted into the drive ).
After this I could copy data onto it and remove it again.

The last day's I recognized, that this automatic mounting didn't happen anymore.

After inserting a CDROM, the hal daemon show that the data is recognized, but didn't
get mounted, because volume.ignore is set to true.

To see this, I started the hal daemon in debug mode:
as root
svcadm disable hal
/usr/lib/hal/hald --daemon=no --verbose=yes


Also the command
bash-3.2$ rmmount
mount of cdrom /dev/dsk/c4t0d0s2 failed: Device has /dev/dsk/c4t0d0s2 volume.ignore set to TRUE. Refusing to mount.


issued an error.

To activate the feature again, I had to edit
/etc/hal/fdi/policy/30user/90-solaris-device-allocation.fdi


change from





true


true





to








false


false






and restart the hal daemon
svcadm restart hal


and the icons for the removable media appear again on the desktop.