Bug 1234059
| Summary: | shutdown scripts are not executed | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Roland Pallai <dap78> | ||||
| Component: | plasma-workspace | Assignee: | Rex Dieter <rdieter> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 22 | CC: | dvratil, jgrulich, kde-sig, kevin, ltinkl, rdieter, than | ||||
| Target Milestone: | --- | Keywords: | Patch | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | plasma-workspace-5.3.1-5.fc22 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-06-27 22:33:15 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: | |||||||
| Attachments: |
|
||||||
/etc/kde/shutdown isn't used anymore regardless. Use /etc/xdg/plasma-workspace/shutdown instead but otherwise, the patch looks like the right approach, I'll take a closer look today. fix pushed upstream too, http://quickgit.kde.org/?p=plasma-workspace.git&a=commit&h=96fdec6734087e54c5eee7c073b6328b6d602b8e plasma-workspace-5.3.1-5.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/FEDORA-2015-10382/plasma-workspace-5.3.1-5.fc22 Package plasma-workspace-5.3.1-5.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing plasma-workspace-5.3.1-5.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-10382/plasma-workspace-5.3.1-4.fc22 then log in and leave karma (feedback). plasma-workspace-5.3.1-5.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 1041246 [details] trivial fix Description of problem: Scripts in ~/.config/plasma-workspace/shutdown/ and /etc/kde/shutdown/ are not executed on logout. Version-Release number of selected component (if applicable): plasma-workspace-5.3.1-2.fc22.x86_64 How reproducible: 100% Steps to Reproduce: 1. $ printf "#/bin/bash\ntouch /tmp/oops\n" > ~/.config/plasma-workspace/shutdown/oops.sh 2. $ chmod +x ~/.config/plasma-workspace/shutdown/oops.sh 3. logout from the kde session Actual results: There is no /tmp/oops file, because the script was not executed. Expected results: Existing /tmp/oops file. Additional info: Patch attached.