Bug 346949

Summary: Shutdown scripts are not executed
Product: [Unmaintained] ksmserver Reporter: Soukyuu <chrno-sphered>
Component: generalAssignee: Lubos Lunak <l.lunak>
Status: RESOLVED FIXED    
Severity: normal CC: mrpaul
Priority: NOR    
Version First Reported In: 5.2.90   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.5.1
Sentry Crash Report:

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.