diff options
author | Ondrej Holy <oholy@redhat.com> | 2021-03-30 15:36:45 +0200 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2021-03-31 15:56:59 +0200 |
commit | 4d1d8e20315a1ac3e814742d79e4ced4257d1256 (patch) | |
tree | c9b66551c60fdfc1d8b3e2881a730018998c62de /daemon/daemon-main.c | |
parent | 09733ddc402fe3999ac323d8d4cbddd938659016 (diff) | |
download | gvfs-wip/oholy/admin-fixes.tar.gz |
client: Prevent socket leaks if socket dir is inaccessiblewip/oholy/admin-fixes
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
Diffstat (limited to 'daemon/daemon-main.c')
0 files changed, 0 insertions, 0 deletions