Thanks a lot for your answer.
I’ve made what you have suggested but I’m afraid there’s no change.
I wonder how I can check if this is really doing something.
I’ve tried “journalctl -b -1” but the answer to that is “no persistent journal was found”
/apps/ is a partition I use for things related to applications.
I place there … appimages, templates, virtual machines, timeshift images …
If I use “/apps/veracrypt/unmount.sh” I guess I don’t need to have that in the $PATH
Hi, megavolt! Thanks again for your answer.
I’m afraid I can’t see anything from previous sessions with journalctl.
There’s nothing recorded.
It always begins with the current one.
So I can’t see any message related to the previous shutdown.
What I need now is information about the result of both files (sh and service) in the shutdown process.
But I don’t know how to get it.
If everything where working properly I wouldn’t see error messages about veracrypt volumes not unmounted.
I have created the journal directory.
Now I can execute journalctl -b -1 > list.txt
I’ve found this …
app-veracrypt-cd3c7135cc094b4e9a4a60911dbbd40b.scope: Failed to kill control group /user.slice/user-1000.slice/user@1000.service/app.slice/app-veracrypt-cd3c7135cc094b4e9a4a60911dbbd40b.scope, ignoring: Operation not permitted
…: app-veracrypt-cd3c7135cc094b4e9a4a60911dbbd40b.scope: Killing process 2387 (veracrypt) with signal SIGKILL.
…: app-veracrypt-cd3c7135cc094b4e9a4a60911dbbd40b.scope: Killing process 2389 (veracrypt) with signal SIGKILL.
…: app-veracrypt-cd3c7135cc094b4e9a4a60911dbbd40b.scope: Killing process 2437 (mount.ntfs) with signal SIGKILL.
…: app-veracrypt-cd3c7135cc094b4e9a4a60911dbbd40b.scope: Failed to kill control group /user.slice/user-1000.slice/user@1000.service/app.slice/app-veracrypt-cd3c7135cc094b4e9a4a60911dbbd40b.scope, ignoring: Operation not permitted
…: app-veracrypt-cd3c7135cc094b4e9a4a60911dbbd40b.scope: Succeeded.
…: Stopped Vera Crypt.