Some privilege reduction patches

Danny Kukawka danny.kukawka at web.de
Wed Feb 15 04:27:47 PST 2006


On Wednesday 15 February 2006 12:55, Martin Pitt wrote:
> Please see http://bugs.debian.org/352512 for details; I quote the
> important bits here:
>
> -------- snip --------
>   Since the last upgrade of hal, acpid has stopped working, complaining
>   that it cannot access /proc/acpi/events, while lsof reveals that this
>   file is used by hald-addon-acpi, which doesn't seem to be documented
>   anywhere.
>
>   The hal acpi addon can use either the /proc interface or the events
>   file provided by acpid. Unfortunately when the acpid event socket
>   goes away the addon immediatly connects to the proc interface, thus
>   blocking acpid from connecting.
> -------- snip --------

In this case you should compile hald only with acpid support and not with both 
or be sure that acpid is started before hal. On the other side, we could 
change the addon to only reconnect to eventsource which was successful 
connected before.

Danny


More information about the hal mailing list