Red Hat Bugzilla – Bug 355431
Kpowersave needs root access after acpid installed
Last modified: 2008-06-16 22:44:51 EDT
Description of problem:
My initial install of F7 on Dell Latitude D630 had kpowersave working fine.
acpid was not installed at all.
After installing acpid, kpowersave no longer works unless ran as root.
If I run kpowersave as regular user, it cannot suspend, cannot change CPU
frequency policy, and cannot even report it (the policy is "unknown" in
kpowersave status window). When I run kpowersave under sudo, it sees the policy
as "dynamic", can change it, suspend works too. I can run pm-suspend as regular
user and it works.
Stopping or even removing acpid does not fix the problem. Some permissions must
have changed somewhere and kpowersave no longer has the access it needs.
Version-Release number of selected component (if applicable):
After acpid was installed, kpowersave needs root privs, this part is 100%
reproducible. Since I can't "undo" it and revert back to working state, I can't
say whether I can reproduce the change caused by acpid.
Steps to Reproduce:
1. Default install - kpowersave works as user
2. Install acpid - kpowersave needs root access
3. Remove acpid - kpowersave still needs root access
eww. I'll see if I can reproduce this.
worksforme (as reg user) with acpid installed.
$rpm -q acpid kpowersave
You have acpid installed, is it also running? I noticed that running acpid has
some effect on hal (for example, hald-addon-acpi does not lock /proc/acpi/events
if acpid is running), but since I can't undo the change even by removing acpi I
don't know what is important for the problem.
I could debug some more if I knew what to look for. For example, kpowersave
status window now does not display CPU frequency policy (says "unknown") unless
it runs as root (then it's "dynamic"). Clearly kpowersave does not have
permissions to read the policy from somewhere, but from where? Similarly, I
can't change the policy, I get a failure message. kpowersave probaly tried to
write to something and failed? I can't strace it because it forks itself into
background right away. lsof does not show any "interesting" filed open by
kpowersave, but it's unlikely I can catch it with lsof at just the right moment.
acpid is running, yes.
I also see CPU freq policy as "dynamic" always (and can't change it fwiw).
i have acpid running on my Latitude D820 and i am able to change between
dynamic and performance. i am unable to select powersave.
Im guessing that the bug here lies in hal somewhere since thats all kpowersave
uses to do its heavy lifting. im reassinging to hal
Pretty sure this is not a hal problem.
I have the same problem. Don't know however, if it is somehow connected with acpid.
Lenovo T60 with Ati X1400 (ekh). F8 install, kpowersave works only if I am
logged in as root. In other cases all Suspend/Hibernate related options are
[root@fortice ~]# rpm -q acpid kpowersave
This message is a reminder that Fedora 7 is nearing the end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 7. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '7'.
Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 7's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 7 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug. If you are unable to change the version, please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. If possible, it is recommended that you try the newest available Fedora distribution to see if your bug still exists.
Please read the Release Notes for the newest Fedora distribution to make sure it will meet your needs:
The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Fedora 7 changed to end-of-life (EOL) status on June 13, 2008.
Fedora 7 is no longer maintained, which means that it will not
receive any further security or bug fix updates. As a result we
are closing this bug.
If you can reproduce this bug against a currently maintained version
of Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.