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

Michael Biebl biebl at debian.org
Fri Nov 21 18:18:15 UTC 2008


David Madore wrote:
> 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?)
> 

I guess the reason why nobody noticed anything simply is, that it just works atm.

Maybe udev checks for both, a real socket and a abstract namespace socket, when
no '@' is given.

Martin?

Cheers,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20081121/c3b014e7/attachment.pgp 


More information about the Pkg-utopia-maintainers mailing list