[sabayon] Disable gvfs's FUSE for the child session
- From: Federico Mena Quintero <federico src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [sabayon] Disable gvfs's FUSE for the child session
- Date: Mon, 17 Aug 2009 21:27:40 +0000 (UTC)
commit 8ebdada0a3e0502145480959e2f2e0a34c7e30fe
Author: Federico Mena Quintero <federico novell com>
Date: Mon Aug 17 14:11:25 2009 -0500
Disable gvfs's FUSE for the child session
Gvfs-fuse-daemon processes from old sabayon sessions may keep running even after
sabayon terminates. When a new sabayon session is run, those old daemons may crash,
and FUSE makes their .gvfs directories in the temporary home directory totally unreadable
(they show up in 'ls -l' as having mode d?????????) - they can't even be stat()ted.
So, we disable FUSE completely for GVFS in the child session. Those sessions don't need
to mount funny stuff, hopefully.
Signed-off-by: Federico Mena Quintero <federico novell com>
lib/protosession.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/lib/protosession.py b/lib/protosession.py
index 55be28b..98907cd 100644
--- a/lib/protosession.py
+++ b/lib/protosession.py
@@ -452,6 +452,12 @@ class ProtoSession (gobject.GObject):
# Disable Xscreensaver locking
new_environ["RUNNING_UNDER_GDM"] = "yes"
+ # Don't let the child session's gvfs use FUSE, so old
+ # gvfs-fuse-daemons that crash won't make FUSE turn
+ # /tmp/blahblah/.gvfs unreadable --- this screws up
+ # resetting and erasing the temporary home directory.
+ new_environ["GVFS_DISABLE_FUSE"] = "yes"
+
dprint ("Child process env: %s" % new_environ)
# Start the session
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]