FS#28267 - [pm-utils] 1.4.1-3 Failed hooks do not inhibit pm-actions
Attached to Project:
Arch Linux
Opened by Nathan Hulse (rufflove) - Sunday, 05 February 2012, 16:28 GMT
Last edited by Jan de Groot (JGC) - Thursday, 12 September 2013, 12:39 GMT
Opened by Nathan Hulse (rufflove) - Sunday, 05 February 2012, 16:28 GMT
Last edited by Jan de Groot (JGC) - Thursday, 12 September 2013, 12:39 GMT
|
Details
Description:
Hooks that produce an exit code other than 0 do not inhibit pm-actions because the exit status of log is used instead (which always returns 0). A bug was submitted upstream roughly 14 months ago and a patch provided (see https://bugs.freedesktop.org/show_bug.cgi?id=32210), but the issue has yet to be resolved. I am therefore submitting a bug here in the hope that a fix may be deemed appropriate in the case, given that the matter has remained outstanding this long. Steps to reproduce: 1) Create a hook that returns exit status 1 2) Execute pm-suspend |
This task depends upon
Closed by Jan de Groot (JGC)
Thursday, 12 September 2013, 12:39 GMT
Reason for closing: Won't implement
Additional comments about closing: We will not fix this. pm-utils is on our list of stuff getting dropped.
Thursday, 12 September 2013, 12:39 GMT
Reason for closing: Won't implement
Additional comments about closing: We will not fix this. pm-utils is on our list of stuff getting dropped.
Comment by
Benjamin Robin (benjarobin) -
Saturday, 23 June 2012, 15:19 GMT
Fix attached, please patch pm-utils package since this issue is
not fixed upstream...