Summary: | hal-0.5.2 - hald runs as user "haldaemon" and is therefore not able to load some extensions | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Fabian Zeindl <fabian> |
Component: | New packages | Assignee: | Project Gentopia <gentopia> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | radek, solomarv |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Fabian Zeindl
2005-09-25 14:31:31 UTC
0.5.2 is very much outdated, not in any tree. Not Gentopia nor Portage. 0.5.4 lives in Portage for a while now. Use that and re-open and provide some details on what you're trying to use that's failing because there are workarounds to make HAL be able to read ACPI data without retain-privledges. The whole point was that we can drop root privledges in HAL. *** Bug 109425 has been marked as a duplicate of this bug. *** Hi, I just put the wrong version number in the other bug, I was always using 0.5.4 never 0.5.2. With hal-addon-acpi hal detects plugging in and out AC adapters instantly, without this addon it polls about every 30 seconds -> annoying. Without retain-privileges hal-addon-acpi simply doesn't get loaded. There is another problem when using pam_console. A lot of devices are set with user only permissions in /etc/security/console.perms, like cdrom, <console> 0600 <cdrom> 0660 root.cdrom Although hal is in cdrom group, when running as a haldaemon, cdroms would not be detected. Possible solutions: 1) correct console.perms 2) use --retain-privileges 3) abandon pam_console (complicated for a large network...) wrt pam_console, configuration is left up to the user. That's why it's an optional feature. retry all this with 0.5.5.1 retain-privledges will not appear in Gentoo. hal is going to remain running as an unprivledged user. *** Bug 116017 has been marked as a duplicate of this bug. *** I've the same problem with 0.5.5.1-r2. I use -pam_console, everything works fine when I use --retain-privileges, when I don't use that I get the message "access to /proc/acpi/event denied". any possible problems with this are fixed in -r3. |