Bug 604625
| Summary: | Authentication is needed to run gnome-power-backlight-helper as the superuser | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jóhann B. Guðmundsson <johannbg> |
| Component: | gnome-power-manager | Assignee: | Richard Hughes <richard> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 14 | CC: | rhughes, richard, wwoods |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | gnome-power-manager-2.31.90-3.fc14 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-08-24 01:55:21 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jóhann B. Guðmundsson
2010-06-16 11:12:45 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 14 development cycle. Changing version to '14'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping This turns out to be a build error - gnome-power-manager-2.31.6.tar.gz ships with a prebuilt policy/org.gnome.power.policy file, which incorrectly lists the path of gnome-power-backlight-helper:
<annotate key="org.freedesktop.policykit.exec.path">/home/hughsie/.root/sbin/gnome-power-backlight-helper</annotate>
As a workaround, edit /usr/share/polkit-1/actions/org.gnome.power.policy and change that path to '/usr/sbin/gnome-power-backlight-helper'.
The minimal build fix is probably to add:
rm -f policy/org.gnome.power.policy
to the specfile's %prep section.
(except I can't confirm that 'cuz g-p-m doesn't build right now, boo)
Build failure is bug 625206 - there's a patch that fixes it there. I can now confirm that the minimal build fix in comment #2 works as expected. gnome-power-manager-2.31.90-3.fc14 has been submitted as an update for Fedora 14. http://admin.fedoraproject.org/updates/gnome-power-manager-2.31.90-3.fc14 gnome-power-manager-2.31.90-3.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. Committed upstream:
commit 51ff5159c7dd1c4e8ac0b7423b8f468f3adb1d47
Author: Richard Hughes <richard>
Date: Tue Aug 31 13:53:11 2010 +0100
Do not dist org.gnome.power.policy in the tarball
|