Files in /tmp vanish every time WSL restarts. Started after moving to Windows 24H2 / newer WSL + Ubuntu 24.04.
Not WSL. It's systemd, which newer WSL/Ubuntu enable by default (systemd=true in /etc/wsl.conf). Older setups used WSL's own init, no systemd, so nothing touched /tmp.