Hide Forgot
Created attachment 567278 [details] pm-powersave not working Description of problem: pm-powersave true (or false) stop working randomly (as in, no /etc/pm/power.d/my_powersave called) Version-Release number of selected component (if applicable): 1.4.1-12.fc16 How reproducible: Most of the times Steps to Reproduce: 1. pm-powersave true 2. does nothing Actual results: doesn't call /etc/pm/power.d/my_powersave Expected results: should call /etc/pm/power.d/my_powersave Additional info: I've been editing pm-functions, pm-powersave and functions. After doing that, I got one time the script worked, followed by much more when it didn't. I saved the output of PM_DEBUG=true pm-powersave true on text files and will attach them. DO NOTE: lock_and_load is never called because I removed it; however it still didn't work most of the times. Anyway, I hope the debug log of one working versus the not working is sufficient for someone more experienced than I am.
Created attachment 567279 [details] pm-powersave working
Marking as closed, works for me now. My scripts belonged to me (normal user) and not to root:root. I suppose pm-powersave not running them is an undocumented security feature (it makes sense, but no warning was given anywhere). Sorry for the noise!