Red Hat Bugzilla – Bug 253450
pm-utils doesn't process hooks in /etc/pm/hooks
Last modified: 2015-03-04 20:19:07 EST
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):
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.
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.