From ab58faefef21c864aa73d0d50c2c386866edc4b0 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 24 Feb 2012 17:24:50 -0500 Subject: [PATCH] core: Disable Gvfs for binaries Otherwise 1) Lots of unnecessary shit happens and I like my straces to be clean 2) There is no dbus session bus for system daemons or when we're run in a root context --- src/ostree/ot-main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ostree/ot-main.c b/src/ostree/ot-main.c index 1492e8e2..f328faf2 100644 --- a/src/ostree/ot-main.c +++ b/src/ostree/ot-main.c @@ -95,6 +95,9 @@ ostree_main (int argc, GFile *repo_file = NULL; int arg_off; + /* avoid gvfs (http://bugzilla.gnome.org/show_bug.cgi?id=526454) */ + g_setenv ("GIO_USE_VFS", "local", TRUE); + g_type_init (); g_set_prgname (argv[0]);