Some privilege reduction patches

Martin Pitt martin at piware.de
Wed Feb 15 03:55:24 PST 2006


Hi Danny!

Danny Kukawka [2006-02-15 11:54 +0100]:
> On Tuesday 14 February 2006 12:58, Martin Pitt wrote:
> > E. g. the ACPI helper doesn't need root privileges since
> > it can happily read from acpid. This even helps to prevent some race
> > conditions between acpid and hal which apparently crash acpid in
> > Debian in some cases.
> 
> What kind of race conditions between acpid and hal? This sounds really 
> strange. Could you tell more?

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 --------

HTH,

Martin

-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

In a world without walls and fences, who needs Windows and Gates?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.freedesktop.org/archives/hal/attachments/20060215/112f1a8d/attachment.pgp


More information about the hal mailing list