Some privilege reduction patches

Richard Hughes hughsient at gmail.com
Wed Feb 15 01:26:00 PST 2006


On 14/02/06, Martin Pitt <martin at piware.de> wrote:
> Also, it is now reasonable to run some of the helpers with reduced
> privileges. 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 if you don't have acpid installed? I know a few people (myself
included) who run hald without acpid, as acpi events are not being
used by anything else. Wouldn't dropping the privileges stop the addon
from reading /proc/acpi/event ?

Richard.


More information about the hal mailing list