Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#30971 - [pm-utils] hooks in /etc/pm/sleep.d not executed properly
Attached to Project:
Arch Linux
Opened by Scott (firecat53) - Wednesday, 01 August 2012, 22:54 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Saturday, 17 November 2012, 21:30 GMT
Opened by Scott (firecat53) - Wednesday, 01 August 2012, 22:54 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Saturday, 17 November 2012, 21:30 GMT
|
DetailsDescription:
Hooks placed into /etc/pm/sleep.d are not executing. For example: /etc/pm/sleep.d/02test Will not execute unless I additionally do: sudo touch /usr/lib/pm-utils/sleep.d/02test Additional info: * package version(s) pm-utils 1.4.1-5 * config and/or log files etc. Steps to reproduce: 1. Create a hook script in etc/pm/sleep.d (example in the wiki) 2. chmod +x <hook> 3. sudo pm-suspend 4. less /var/log/pm-suspend.log -> hooks in /etc/pm/sleep.d are not executed. |
This task depends upon
Closed by Gerardo Exequiel Pozzi (djgera)
Saturday, 17 November 2012, 21:30 GMT
Reason for closing: None
Additional comments about closing: (last comment) I have switched completely to systemd and no longer use pm-utils, so I won't be able to comment on this bug anymore.
Saturday, 17 November 2012, 21:30 GMT
Reason for closing: None
Additional comments about closing: (last comment) I have switched completely to systemd and no longer use pm-utils, so I won't be able to comment on this bug anymore.
pm-suspend.log
All hooks are owned by root:root and are executable. Nothing is written to /var/log/pm-suspend.log on supend/resume.
Please let me know if you need more information.
Edit: doh, I completely missed that systemd is not compatible with pm-utils. No sleep.d hooks get executed when suspending with systemd. Please consider my vote for this bug as non-existant.
Thanks!
Scott