Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 253450 - pm-utils doesn't process hooks in /etc/pm/hooks
pm-utils doesn't process hooks in /etc/pm/hooks
Product: Fedora
Classification: Fedora
Component: pm-utils (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Phil Knirsch
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-08-19 15:46 EDT by James Ettle
Modified: 2015-03-04 20:19 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-08-19 15:49:40 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description James Ettle 2007-08-19 15:46:29 EDT
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):

How reproducible:

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 Ettle 2007-08-19 15:49:40 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.