Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89107 - on_ac_power script in apmd-3.2.1 requires acpi_available and apm_available
Summary: on_ac_power script in apmd-3.2.1 requires acpi_available and apm_available
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Steev Klimaszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-14 10:34 UTC by Scott Hadfield (RETIRED)
Modified: 2006-02-12 07:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Hadfield (RETIRED) gentoo-dev 2005-04-14 10:34:08 UTC
When I have sys-apps/apmd installed but not sys-power/powermgmt-base, /usr/bin/on_ac_power gives me the following error message:

/usr/bin/on_ac_power: line 23: acpi_available: command not found
/usr/bin/on_ac_power: line 40: apm_available: command not found

However, those scripts are available in powermgmt-base, so this problem goes away when I emerge that package.

Reproducible: Always
Steps to Reproduce:
1. Install apmd without powermgmt-base
2. run /usr/bin/on_ac_power


Actual Results:  
Described above.

Expected Results:  
apmd should either require powermgmt-base as a dependency, contain
acpi_available and apm_available, or not contain the on_ac_power script.

Note that the on_ac_power script in apmd and powermgmt-base are identical.
Comment 1 Steev Klimaszewski (RETIRED) gentoo-dev 2005-10-24 20:51:56 UTC
I am in the process of getting this into the tree, it isn't forgotten
Comment 2 Steev Klimaszewski (RETIRED) gentoo-dev 2006-02-12 07:29:00 UTC
This is now fixed in portage.