Launchpad has imported 2 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=32210.
If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help
** Changed in: pm-utils (Debian)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/665651
Title:
pm-utils does not follow requests to inhibit suspend/hibernate from
** Branch linked: lp:ubuntu/pm-utils
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/665651
Title:
pm-utils does not follow requests to inhibit suspend/hibernate from
scripts in /etc/pm/sleep.d
To
** Changed in: pm-utils (Debian)
Status: Unknown => New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/665651
Title:
pm-utils does not follow requests to inhibit suspend/hibernate from
scrip
Well this ended up revealing an error in
/etc/pm/sleep.d/novatel_3g_suspend provided by toshset and preventing
suspend in Oneiric. So one should be extra cautious if SRU'ing this fix
as it may break suspend and hibernate.
--
You received this bug notification because you are a member of Ubuntu
B
** Branch linked: lp:ubuntu/pm-utils
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/665651
Title:
pm-utils does not follow requests to inhibit suspend/hibernate from
scripts in /etc/pm/sleep.d
To
This bug was fixed in the package pm-utils - 1.4.1-8ubuntu1
---
pm-utils (1.4.1-8ubuntu1) oneiric; urgency=low
* Add 26-inhibit-on-right-status.patch: Do not use the exit status of log
rather the exit status of the hook thereby allowing inhibit to work.
Thanks to Launchpad u
** Tags added: patch-forwarded-debian
** Tags removed: patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/665651
Title:
pm-utils does not follow requests to inhibit suspend/hibernate from
scripts
** Bug watch added: freedesktop.org Bugzilla #633147
http://bugs.freedesktop.org/show_bug.cgi?id=633147
** Also affects: pm-utils (Debian) via
http://bugs.freedesktop.org/show_bug.cgi?id=633147
Importance: Unknown
Status: Unknown
** Bug watch added: Debian Bug tracker #633147
h
Attached is a debdiff that resolves this issue in Oneirc. It might be
worth SRU'ing to stable releases of Ubuntu too.
** Patch added: "pm-utils_1.4.1-8ubuntu1.debdiff"
https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/665651/+attachment/2198156/+files/pm-utils_1.4.1-8ubuntu1.debdiff
--
With the patched version of pm-utils and the test case provided I see
the following in /var/log/pm-suspend.log:
Running hook /etc/pm/sleep.d/05_avoid-sleep suspend suspend:
/etc/pm/sleep.d/05_avoid-sleep suspend suspend: Returned exit code 1.
Fri Jul 8 15:29:57 PDT 2011: Inhibit found, will not
** Changed in: pm-utils (Ubuntu)
Status: Confirmed => Triaged
** Changed in: pm-utils (Ubuntu)
Importance: Undecided => High
** Tags added: oneiric
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/
** Changed in: pm-utils
Status: Unknown => Confirmed
** Changed in: pm-utils
Importance: Unknown => High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/665651
Title:
pm-utils does not foll
I've currently have the next command in my post-installation script for
fixing the bug:
tmp="$(mktemp)"&&wget
https://launchpadlibrarian.net/73767502/pm-functions-run-hooks-with-local.patch
-O"$tmp"&&\
echo "8b59fdcb8f79c40510c15f6a8f3695f9569b084c6f6640e8175cf3105d81439e
$tmp"|sha256sum -c&&\
** Patch added: "Updated patch that does not leak variables in global"
https://bugs.launchpad.net/pm-utils/+bug/665651/+attachment/2174719/+files/pm-functions-run-hooks-with-local.patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubunt
** Bug watch added: freedesktop.org Bugzilla #32210
http://bugs.freedesktop.org/show_bug.cgi?id=32210
** Also affects: pm-utils via
http://bugs.freedesktop.org/show_bug.cgi?id=32210
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member
Please, some one pass on the patch upstream. Or should I try to do it?
This bug have almost 8 months, and there is a patch that works. Please
fix it. I got bitten by it once again after upgrading to 11.04...
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
Had the same problem in xubuntu 11.04.
Published patch corrects pm-utils behaviour. I use a pm hook to umount
SD cards on suspend, in order to avoid data corruption on resume (as
described on
https://bugs.launchpad.net/ubuntu/karmic/+source/linux/+bug/424877).
My hook looks like this:
#!/bin/sh
#
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/665651
Title:
pm-utils does not follow requests to inhibit suspend/hibernate from
scripts in /etc/pm/sleep.d
--
ubuntu-bugs mai
If we modify log() to make it return the previous error code, the
following code are affected:
sleep.d/75modules
* resume_modules() calls modreload(), if it fails to load a module, the return
value of sleep.d/75modules will match the return value of modprobe (is this the
expected behavior, or sh
hook_exit_status relies on the last exit code, but the function `log()`
always returns 0.
The log lines adds something like:
"/usr/lib/pm-utils/sleep.d/000kernel-change hibernate hibernate:
and hook_exit_status:
success.
Shouldn't the log lines be moved to hook_exit_status? Otherwise, the
exitc
** Attachment added: "Script that always try to avoid suspend/hibernate"
https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/665651/+attachment/1708386/+files/00_avoid_suspend
--
pm-utils does not follow requests to inhibit suspend/hibernate from scripts in
/etc/pm/sleep.d
https://bugs.
22 matches
Mail list logo