pm-suspend not restoring /sys/power/disk with /bin/dash
Bug #1394388 reported by
Matthias Ferdinand
This bug report is a duplicate of:
Bug #1548392: Fix for 1172692 fails to restore hibernation mode with suspend-hybrid.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pm-utils (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 14.04LTS
pm-utils 1.4.1-13ubuntu0.1
When issuing the pm-suspend command, the scripts set the HIBERNATE_MODE in /sys/power/disk to "suspend".
There is some shell magic to save the previous setting in variable HIBERNATE_
the default shell /bin/dash (works correctly with /bin/bash).
Effect: if you use pm-suspend once, the effective HIBERNATE_MODE in /sys/power/disk stays in "suspend", and
any subsequent pm-hibernate will also just do a suspend instead of "platform" or "shutdown".
To post a comment you must log in.
The attachment "escape special chars in parameter expansion for HIBERNATE_ MODE_SAVE" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]