Bug 346949 - Shutdown scripts are not executed
Summary: Shutdown scripts are not executed
Status: RESOLVED FIXED
Alias: None
Product: ksmserver
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: 5.2.90
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Lubos Lunak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-30 11:29 UTC by Soukyuu
Modified: 2016-01-09 10:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 5.5.1
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Soukyuu 2015-04-30 11:29:09 UTC
According to [1], I should be putting/symlinking my .sh scripts to ~/.config/plasma-workspace/shutdown

Reproducible: Always

Steps to Reproduce:
1. put unmount_cifs.sh to ~/.config/plasma-workspace/shutdown
2. double check permissions 
3. shutdown/restart PC

Actual Results:  
Shutdown hangs on "unmounting <cifs share>...", not logger message (part of the script) in journal

Expected Results:  
Script being executed, cifs shares unmounted and a logger message added to journal

This used to work on KDE4 by adding the scripts from systemsettings. I'd very much like to see this added back/fixed for Plasma. Bug #338242 seems to be related. I'm on arch linux x64 using the kde-unstable/testing repositories.

[1] https://community.kde.org/Plasma/5.0_Errata
Comment 1 Soukyuu 2015-07-26 16:03:35 UTC
According to plasma 5.3.2 changelog [1], this should have been fixed - it is not.

[1] https://www.kde.org/announcements/plasma-5.3.2.php
Comment 2 mrpaul 2015-10-25 19:12:31 UTC
Confirmed

According to plasma 5.3.2 changelog [1], this should have been fixed - it is not.

KDE plasma-workspace 5.4.2
4.2.3-1-ARCH
Comment 3 Soukyuu 2016-01-05 18:59:27 UTC
Seems to work for me now.