Repository navigation
Fix issues with XDG_RUNTIME_DIR being /var/run which is a symlink - #2710
alexlarsson wants to merge 1 commit into
Conversation
Whenever we use $XDG_RUNTIME_DIR and expose it somehow in the sandbox we fully resolve the path, because if (as happens on gentoo for instance) it contains /var/run -> ../run, then flatpak thinks we need to add the /var/run symlink in the runtime even though we already exposed that.
|
This should fix #2200 |
|
📌 Commit 6aa4777 has been approved by |
|
⚡ Test exempted: pull fully rebased and already tested. |
Whenever we use $XDG_RUNTIME_DIR and expose it somehow in the sandbox we fully resolve the path, because if (as happens on gentoo for instance) it contains /var/run -> ../run, then flatpak thinks we need to add the /var/run symlink in the runtime even though we already exposed that. Closes: #2710 Approved by: matthiasclasen (cherry picked from commit 28e9628)
|
I am still getting |
|
Me too. Reported on GNOME Builder and Archlinux bugtrackers. |
|
I am seeing this in OpenSUSE with the FreeCAD and Steam flatpaks. I suspect this somehow broke again. On OpenSUSE, /var/run is a symlink to /run. In my case, XDG_RUNTIME_DIR=/var/run/user/500 |
|
To make this more likely to be solvable, please open a new issue with full details ( |
The same error message can happen for multiple reasons; this pull request fixed one of those reasons. The fact that you still see the same error message is a bug, but it is probably not the same bug that this PR fixed. If this is still the case, please check for similar issues like #3477, and if none match, open a new issue with full details, including |
Whenever we use $XDG_RUNTIME_DIR and expose it somehow in the sandbox
we fully resolve the path, because if (as happens on gentoo for instance)
it contains /var/run -> ../run, then flatpak thinks we need to
add the /var/run symlink in the runtime even though we already
exposed that.