Skip to content
Commit c615cfe1 authored by Ondrej Holy's avatar Ondrej Holy
Browse files

client: Prevent socket leaks if socket dir is inaccessible

GVfs fallbacks to session bus if it is not possible to establish
peer-to-peer connection (e.g. inside Flatpak sandbox). However,
the DBus server is not terminated and the socket is leaked. The
named sockets are counted as open files, so it can easily lead to
"Too many open files" errors. Let's fallback to the session bus
immediately if the socket dir is not accessible to prevent the
leaks. This should fix the most common case, when the sockets are
leaked.

Fixes: https://gitlab.gnome.org/GNOME/gvfs/-/issues/542
parent 117d5318
Pipeline #274807 passed with stage
in 1 minute and 18 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment