Where are block@... database entries?

Kay Sievers kay.sievers at vrfy.org
Fri Sep 9 08:08:33 PDT 2005


On Fri, Sep 09, 2005 at 06:56:17PM +0400, Eugene Crosser wrote:
> [About CD/VDV not being mounted on insert]
> 
> Kay Sievers wrote:
> 
> >>>No, 0.5.4 should work. Here is the HAL ChangeLog:
> >>>  http://cvs.freedesktop.org/hal/hal/ChangeLog?rev=1.546&view=markup
> >>
> >>[...]
> >>
> >>>Looking at the HAL debug output may show something:
> >>>  http://hal.freedesktop.org/wiki/Software_2fHalTraces
> >>
> >>Ok, at the very least, now I know where to look next.  Thanks for that! :-)
> > 
> > 
> > Look with "lshal" if your cdrom is recognized by HAL. If not, but
> > udev has created a device node for it, post the debug HAL prints to the
> > console to:
> >   hal at lists.freedesktop.org
> 
> I figured the cause of HAL not realizing that /dev/hdX is a CDROM: it
> was running as 'haldaemon' user in the group 'haldeamon', whereas
> /dev/hd* belong to root:disk and root:cdrom with mode 660.  HAL was
> trying to open devices, but failed.  When I specified in /etc/group that
> haldaemon is a member of 'disk' and 'cdrom' groups, automount magically
> began to work!
> 
> I wonder what would be the proper setup?  I don't seem to find any
> relevant directions on the web...

[removing hotplug-devel list]

Just run HAL with --retain-privileges.
(The default behavior of HAL is to drop the privileges, but that is not very useful
 and that mess needs to be fixed some day.)

Kay


More information about the hal mailing list