[Pkg-utopia-maintainers] Bug#506458: /etc/udev/rules.d/90-hal.rules missing '@' in socket line

David Madore david.madore at ens.fr
Fri Nov 21 16:51:35 UTC 2008


Package: hal
Version: 0.5.11-6

The file /etc/udev/rules.d/90-hal.rules contains the line

RUN+="socket:/org/freedesktop/hal/udev_event"

Obviously the /org/freedesktop/hal/udev_event Unix domain socket does
not exist nor is it supposed to.  However, the socket of the same name
exists in the abstract domain (with hald listening to it).  According
to the udev manual page, to connect to an abstract socket, an '@' sign
should start the name of the socket.  So I suggest rewriting the file
as:

RUN+="socket:@/org/freedesktop/hal/udev_event"

so that udevd will actually talk to hald.

(I'm baffled at how this could have gone unnoticed for so long...  How
can hal even work if udev doesn't forward uevent information to it?)

-- 
     David A. Madore
    (david.madore at ens.fr,
     http://www.madore.org/~david/ )





More information about the Pkg-utopia-maintainers mailing list