https://bugs.kde.org/show_bug.cgi?id=356190

            Bug ID: 356190
           Summary: scripts in $HOME/.config/plasma-workspace/shutdown not
                    executed at full shutdown
           Product: plasmashell
           Version: 5.4.3
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

I have several scripts in $HOME/.config/plasma-workspace/shutdown to do some
cleanup and prevent data corruption of my home file system (encrypted) but
those scripts are only executed when I log out of the session. They are not
executed when doing a full shutdown or reboot.

Reproducible: Always

Steps to Reproduce:
1. Reboot or shutdown
2. 
3.

Actual Results:  
Nothing executed in $HOME/.config/plasma-workspace/shutdown

Expected Results:  
All scripts in $HOME/.config/plasma-workspace/shutdown should be executed and
finished before completing the shutdown/reboot

As mentioned, I use an encrypted home, and if some processes are left running,
infamously being kactivitymanagerd, I end up with corrupted files because of
dirty unmounts. Besides scripts to fix that I have some other things to run
before shutdown.

If this should be handled by systemd, any suggestion on how to do that is
appreciated, I did try several ways with systemd to no avail

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to