Bug 253450

Summary: pm-utils doesn't process hooks in /etc/pm/hooks
Product: [Fedora] Fedora Reporter: James <james>
Component: pm-utilsAssignee: Phil Knirsch <pknirsch>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 7CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-08-19 19:49:40 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 James 2007-08-19 19:46:29 UTC
Description of problem:
Hooks placed in /etc/pm/hooks/ (such as by the 915resolution package) are not
processed during hibernate/thaw suspend/resume cycles.

Version-Release number of selected component (if applicable):
pm-utils-0.99.3-8.fc7

How reproducible:
Always.

Additional info:
Hooks in /etc/pm/sleep.d/ *are* processed. The problem traces to line 84 (in the
run_hooks function) of /usr/lib/pm-utils/functions which globs only sleep.d
files and not those in the hooks/ directory.

Comment 1 James 2007-08-19 19:49:40 UTC
Ignore this, the bug should be reported in 915resolution (to move the location
of its hook) since /etc/pm/hooks is no longer part of pm-utils.