[Bug 665651] Re: pm-utils does not follow requests to inhibit suspend/hibernate from scripts in /etc/pm/sleep.d

2014-06-05 Thread Bug Watch Updater
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

[Bug 665651] Re: pm-utils does not follow requests to inhibit suspend/hibernate from scripts in /etc/pm/sleep.d

2012-01-17 Thread Bug Watch Updater
** 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

[Bug 665651] Re: pm-utils does not follow requests to inhibit suspend/hibernate from scripts in /etc/pm/sleep.d

2012-01-11 Thread Launchpad Bug Tracker
** 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

[Bug 665651] Re: pm-utils does not follow requests to inhibit suspend/hibernate from scripts in /etc/pm/sleep.d

2011-08-10 Thread Bug Watch Updater
** 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

[Bug 665651] Re: pm-utils does not follow requests to inhibit suspend/hibernate from scripts in /etc/pm/sleep.d

2011-07-08 Thread Brian Murray
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

[Bug 665651] Re: pm-utils does not follow requests to inhibit suspend/hibernate from scripts in /etc/pm/sleep.d

2011-07-08 Thread Launchpad Bug Tracker
** 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

[Bug 665651] Re: pm-utils does not follow requests to inhibit suspend/hibernate from scripts in /etc/pm/sleep.d

2011-07-08 Thread Launchpad Bug Tracker
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

[Bug 665651] Re: pm-utils does not follow requests to inhibit suspend/hibernate from scripts in /etc/pm/sleep.d

2011-07-08 Thread Daniel T Chen
** 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 665651] Re: pm-utils does not follow requests to inhibit suspend/hibernate from scripts in /etc/pm/sleep.d

2011-07-08 Thread Brian Murray
** 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

[Bug 665651] Re: pm-utils does not follow requests to inhibit suspend/hibernate from scripts in /etc/pm/sleep.d

2011-07-08 Thread Brian Murray
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 --

[Bug 665651] Re: pm-utils does not follow requests to inhibit suspend/hibernate from scripts in /etc/pm/sleep.d

2011-07-08 Thread Brian Murray
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

[Bug 665651] Re: pm-utils does not follow requests to inhibit suspend/hibernate from scripts in /etc/pm/sleep.d

2011-07-08 Thread Brian Murray
** 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/

[Bug 665651] Re: pm-utils does not follow requests to inhibit suspend/hibernate from scripts in /etc/pm/sleep.d

2011-06-19 Thread Bug Watch Updater
** 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

[Bug 665651] Re: pm-utils does not follow requests to inhibit suspend/hibernate from scripts in /etc/pm/sleep.d

2011-06-19 Thread Lekensteyn
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&&\

[Bug 665651] Re: pm-utils does not follow requests to inhibit suspend/hibernate from scripts in /etc/pm/sleep.d

2011-06-19 Thread Lekensteyn
** 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 665651] Re: pm-utils does not follow requests to inhibit suspend/hibernate from scripts in /etc/pm/sleep.d

2011-06-19 Thread Lekensteyn
** 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

[Bug 665651] Re: pm-utils does not follow requests to inhibit suspend/hibernate from scripts in /etc/pm/sleep.d

2011-06-18 Thread Paulo J. S. Silva
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

[Bug 665651] Re: pm-utils does not follow requests to inhibit suspend/hibernate from scripts in /etc/pm/sleep.d

2011-06-17 Thread GorkaE
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 #

[Bug 665651] Re: pm-utils does not follow requests to inhibit suspend/hibernate from scripts in /etc/pm/sleep.d

2011-03-04 Thread Brian Murray
** 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

[Bug 665651] Re: pm-utils does not follow requests to inhibit suspend/hibernate from scripts in /etc/pm/sleep.d

2011-03-03 Thread Lekensteyn
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

[Bug 665651] Re: pm-utils does not follow requests to inhibit suspend/hibernate from scripts in /etc/pm/sleep.d

2011-03-03 Thread Lekensteyn
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

[Bug 665651] Re: pm-utils does not follow requests to inhibit suspend/hibernate from scripts in /etc/pm/sleep.d

2010-10-23 Thread Paulo J. S. Silva
** 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.