Commit graph

8 commits

Author SHA1 Message Date
Raphael Dannecker
97b9ba8d97 Shorten path for XDG_CONFIG_HOME and clean dir
In Linux socket paths are limited to 108 char length.
/var/tmp/vm/$UID/.config will be too long in some cases.
So we use /var/tmp/vm/$UID

/var/tmp/vm must be
- cleaned on startup
- created with sticky-bit (used by different users)
2025-02-18 14:16:56 +01:00
Raphael Dannecker
5998c5900e Trixies uses tmpfs for /tmp, so let's use /var/tmp/vm for temporary VM files 2025-01-27 17:11:12 +01:00
Andreas B. Mundt
2a79f3c304 Fix console login error message from pam mount. 2024-01-16 12:01:30 +01:00
Andreas B. Mundt
2e0ffda273 Improve slice and delay handling. 2023-09-16 11:32:25 +02:00
Andreas B. Mundt
9560228f3b Fix umount when virtiofs was never used (slice does not exist). 2023-09-08 11:27:42 +02:00
Andreas B. Mundt
a1e47cf64b Umount script: Kill blocking processes and destroy VMs. 2023-09-05 18:10:59 +02:00
Andreas B. Mundt
7d7301f67d Try umounting multiple times. 2023-09-02 16:19:05 +02:00
Andreas B. Mundt
c59fb67ed0 Try smart umount as a simple solution (no credentials needed). 2023-08-19 18:31:09 +02:00