[ostree] core: Disable Gvfs for binaries
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] core: Disable Gvfs for binaries
- Date: Fri, 24 Feb 2012 22:26:30 +0000 (UTC)
commit ab58faefef21c864aa73d0d50c2c386866edc4b0
Author: Colin Walters <walters verbum org>
Date: Fri Feb 24 17:24:50 2012 -0500
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 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/ostree/ot-main.c b/src/ostree/ot-main.c
index 1492e8e..f328faf 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]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]