Bug 1003084
Summary: | Scripts in /etc/pm/sleep.d/ are run with different arguments than documentation says | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | D. Wagner <daw-redhatbugzilla> |
Component: | pm-utils | Assignee: | Jaroslav Škarvada <jskarvad> |
Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | daw-redhatbugzilla, jskarvad, pknirsch, rhughes |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-09-04 03:24:47 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
D. Wagner
2013-08-30 17:54:37 UTC
I am unable to reproduce, f19 with latest updates, pm-utils-1.4.1-24.fc19.x86_64, reproducer: # echo -e '#/bin/bash\n\necho $1 >> /var/tmp/log' > /etc/pm/sleep.d/test # chmod a+rx /etc/pm/sleep.d/test # pm-suspend # cat /var/tmp/log suspend resume The pm-utils are deprecated in f19, the same procedure now with systemd: # echo -n > /var/tmp/log # systemctl suspend # cat /var/tmp/log Nothing as expected. Are you using pm-suspend or 'systemctl suspend'? If the latter, there is probably some symlink in the /usr/lib/systemd/system-sleep/ directory. If the former try 'rpm -qV pm-utils'. Gosh, you are absolutely right. I must have made some mistake in my debugging. I apologize profusely for taking up your time on the invalid bug report. My mistake. Thank you so much for your time and your help! |