[Bug]: Bottles fails to launch and does not report what the error was if too little space is left on device
Describe the bug
My drive is reporting running out of space (probably not really relevant to the general issue as it's another bug I'm dealing with, but although I have 12 GB left, my BTRFS is acting up and acts as all space is full, refusing to save files etc.). When I launch Bottles from GUI (clicking of app icon), it fails to launch without any indication what the problem is. Same when launching with "Discrete graphics card". Only when I run it from CLI it shows what the issue is:
user@fedora:~/Documents$ flatpak run com.usebottles.bottles
ldconfig: Renaming of /run/ld-so-cache-dir/ee36809d042bddc8c47ae29ecf814097161f434c234fa99f7dbda12d9c3510bd.mORN5d~ to /run/ld-so-cache-dir/ee36809d042bddc8c47ae29ecf814097161f434c234fa99f7dbda12d9c3510bd.mORN5d failed: No space left on device
error: ldconfig failed, exit status 256
No space on device should not be an obstacle to launching a program w/o saving anything, but at least it should report what was the reason of failing to launch with a notification.
To Reproduce
-
fallocate -l $(df --output=avail ~ | tail -1)K ~/urmum -
Click on Bottles icon
Package
Flatpak from Flathub
Distribution
Fedora 41
Debugging Information
user@fedora:~/Documents$ flatpak run --command=bottles-cli com.usebottles.bottles info health-check
ldconfig: Renaming of /run/ld-so-cache-dir/ee36809d042bddc8c47ae29ecf814097161f434c234fa99f7dbda12d9c3510bd.4NvR0i~ to /run/ld-so-cache-dir/ee36809d042bddc8c47ae29ecf814097161f434c234fa99f7dbda12d9c3510bd.4NvR0i failed: No space left on device
error: ldconfig failed, exit status 256
Troubleshooting Logs
user@fedora:~/Documents$ flatpak run com.usebottles.bottles
ldconfig: Renaming of /run/ld-so-cache-dir/ee36809d042bddc8c47ae29ecf814097161f434c234fa99f7dbda12d9c3510bd.GsF3Zg~ to /run/ld-so-cache-dir/ee36809d042bddc8c47ae29ecf814097161f434c234fa99f7dbda12d9c3510bd.GsF3Zg failed: No space left on device
error: ldconfig failed, exit status 256
Additional context
No response
Not an issue with bottles. I recommend searching around and going to support channels of your distro but iirc sometimes btrfs will rebalance(?) the partition and this uses the unused space and because of that is always good to not full your partition, and it could also take a long time, more info: https://wiki.archlinux.org/title/Btrfs#No_space_left_on_device
Yet I believe it should at least throw a notification "Failed to launch, too few space on device".