systemd / mkosi

💽 Build Bespoke OS Images
https://mkosi.systemd.io/
1.18k stars 319 forks source link

systemd-tmpfiles-clean.service removes files while an image is created #252

Closed michaelolbrich closed 5 years ago

michaelolbrich commented 6 years ago

mkosi failed for me because part of the OS tree was deleted while creating the image: The files created in /var/tmp/mkosi-* are older than 30 days. systemd-tmpfiles-clean.service started while I created the image and deleted most of the OS tree.

It seems to me, that /var/tmp is a bad choice for the temporary directory.

poettering commented 5 years ago

Fix waiting in #319