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)
This commit is contained in:
Raphael Dannecker 2025-02-18 14:16:56 +01:00
parent bde276d962
commit 97b9ba8d97
4 changed files with 5 additions and 5 deletions

View file

@ -144,7 +144,7 @@
ansible.builtin.copy:
dest: /etc/tmpfiles.d/clean-vm.conf
content: |
R! /var/tmp/vm
D /var/tmp/vm 1777 root root -
- name: Install squid
apt: