After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 793187 - gvfs directory created even if GIO_USE_VFS=local is set
gvfs directory created even if GIO_USE_VFS=local is set
Status: RESOLVED DUPLICATE of bug 665092
Product: glib
Classification: Platform
Component: gio
2.55.x
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2018-02-05 15:13 UTC by Bastien Nocera
Modified: 2018-02-09 12:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bastien Nocera 2018-02-05 15:13:19 UTC
With current git master of glib and gvfs, when running the gnome-settings-daemon power plugin test suite, we get error about a dangling gvfs file, created by gvfsd-fuse:

======================================================================
ERROR: tearDownClass (__main__.PowerPluginTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  • File "/tmp/gnome-settings-daemon/tests/gsdtestcase.py", line 97 in tearDownClass
    shutil.rmtree(klass.workdir)
  • File "/usr/lib64/python2.7/shutil.py", line 261 in rmtree
    rmtree(fullname, ignore_errors, onerror)
  • File "/usr/lib64/python2.7/shutil.py", line 266 in rmtree
    onerror(os.remove, fullname, sys.exc_info())
  • File "/usr/lib64/python2.7/shutil.py", line 264 in rmtree
    os.remove(fullname)
OSError: [Errno 21] Is a directory: '/tmp/gsd-power-testeSVBTD/runtime/gvfs'

----------------------------------------------------------------------

$ rm /tmp/gsd-power-testeSVBTD/runtime/gvfs
rm: cannot remove '/tmp/gsd-power-testeSVBTD/runtime/gvfs': Transport endpoint is not connected

But gvfsd-fuse shouldn't be started by gvfsd, as gvfsd shouldn't be started because GIO_USE_VFS is set to "local".

GVFS_DISABLE_FUSE set to 1 works around the problem.

See also https://bugzilla.gnome.org/show_bug.cgi?id=767183
Comment 1 Philip Withnall 2018-02-09 12:44:02 UTC
I suspect this is bug #665092. Please re-open if you’ve got reason to doubt that, such as a strace which shows the `gvfs` directory is created from a different code path.

*** This bug has been marked as a duplicate of bug 665092 ***