Bug 909867 - hooks not called with systemd suspend
Summary: hooks not called with systemd suspend
Keywords:
Status: CLOSED DUPLICATE of bug 904221
Alias: None
Product: Fedora
Classification: Fedora
Component: pm-utils
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-11 10:51 UTC by Miroslav Lichvar
Modified: 2013-02-11 13:23 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-11 13:23:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miroslav Lichvar 2013-02-11 10:51:45 UTC
Description of problem:
It seems some ways of suspending laptop in F18 (suspend button or closing lid) no longer call pm-suspend, but a new systemctl suspend command. This may depend on the used desktop or the power manager. I assume systemd will eventually take over everything and calling pm-suspend will be considered obsolete.

The problem is it doesn't seem to run the pm-utils hooks. I think it would be useful to include systemd services in pm-utils which would run all pm-utils hooks except the one which does the actual suspend or hibernation.

Version-Release number of selected component (if applicable):
pm-utils-1.4.1-22.fc18.x86_64
systemd-197-1.fc18.1.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. add a hook to /etc/pm/sleep.d/
2. systemctl suspend
  
Actual results:
the hook was not run

Expected results:
the hook was run

Additional info:

Comment 1 Jaroslav Škarvada 2013-02-11 13:23:45 UTC

*** This bug has been marked as a duplicate of bug 904221 ***


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