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

Michael Biebl biebl at debian.org
Sun Nov 23 17:17:40 UTC 2008


Michael Biebl wrote:
> 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?

Sorry Marco, I mixed up your name. Apologies.

I checked the udev release notes, and for udev 120, it contains this notice:

Abstract namespace sockets paths in RUN+="socket:@<path>" rules,
should be prefixed with '@' to indicate that the path is not a
real file.

So, if we use the '@' prefix in 90-hal.rules, will this also work with older
versions of udev or do we need to bump the versioned dependency on udev?

Marco, can you comment on that?

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/20081123/f36c781d/attachment.pgp 


More information about the Pkg-utopia-maintainers mailing list