flatpak version of Boxes saves ISO files to a small tmpfs
Affected version
- Boxes version: 45.0-fe0ca772 (flatpak)
- Operating system name and version: Fedora 39 (The Fedora system is a VM, but I also reproduced the issue on bare metal Ubuntu 23.10)
Steps to reproduce
- Run on a machine with no more than 32 GB of RAM
- Install Boxes from flathub:
flatpak install flathub org.gnome.Boxes
- Ensure you don't have any GNOME OS ISO files in
~/Downloads
- Run Boxes:
flatpak run org.gnome.Boxes
- Click the Plus icon to create a new VM
- Choose: Download OS
- Select GNOME OS Nightly
- The New Virtual Machine modal opens
- Click Create
Seen behavior
The VM fails to open.
Expected behavior
The VM opens and boots into the installation process.
Relevant logs, screenshots, screencasts etc.
The issue appears to be that the ISO file is initially saved to ${XDG_RUNTIME_DIR}/.flatpak/org.gnome.Boxes/tmp/
, which is (on my Fedora VM with 4096 MiB of RAM) a tmpfs mounted on /run/user/1000
that is 392 MB (10% of system RAM). The filesystem filled up and the download failed.
Edited by Justin Donnelly