no fuse in the sandbox

This commit is contained in:
Matthias Clasen 2008-03-17 16:20:26 +00:00
parent e26cbf454d
commit 97cdb32e30
2 changed files with 18 additions and 1 deletions

11
gdm-no-fuse.patch Normal file
View File

@ -0,0 +1,11 @@
diff -up gdm-2.21.9/daemon/gdm-welcome-session.c.no-fuse gdm-2.21.9/daemon/gdm-welcome-session.c
--- gdm-2.21.9/daemon/gdm-welcome-session.c.no-fuse 2008-03-17 12:08:22.000000000 -0400
+++ gdm-2.21.9/daemon/gdm-welcome-session.c 2008-03-17 12:09:31.000000000 -0400
@@ -316,6 +316,7 @@ get_welcome_environment (GdmWelcomeSessi
g_hash_table_insert (hash, g_strdup ("PATH"), g_strdup (g_getenv ("PATH")));
g_hash_table_insert (hash, g_strdup ("RUNNING_UNDER_GDM"), g_strdup ("true"));
+ g_hash_table_insert (hash, g_strdup ("GVFS_DISABLE_FUSE"), g_strdup ("1"));
g_hash_table_foreach (hash, (GHFunc)listify_hash, env);
g_hash_table_destroy (hash);

View File

@ -16,7 +16,7 @@
Summary: The GNOME Display Manager
Name: gdm
Version: 2.21.9
Release: 3%{?dist}
Release: 4%{?dist}
Epoch: 1
License: GPLv2+
Group: User Interface/X
@ -79,6 +79,8 @@ Requires: audit-libs >= %{libauditver}
Patch1: gdm-null-user.patch
Patch2: gdm-2.21.9-remove-duplicate-signal-verification.patch
# http://bugzilla.gnome.org/show_bug.cgi?id=522033
Patch3: gdm-no-fuse.patch
Patch99: gdm-2.21.8-fedora-logo.patch
%package user-switch-applet
@ -101,6 +103,7 @@ multiple simulanteous logged in users.
%patch1 -p0 -b .null-user
%patch2 -p1 -b .remove-duplicate-signal-verification
%patch3 -p1 -b .gdm-no-fuse
%patch99 -p1 -b .fedora-logo
%build
@ -294,6 +297,9 @@ fi
%{_datadir}/gnome-2.0/ui/GNOME_FastUserSwitchApplet.xml
%changelog
* Mon Mar 17 2008 Matthias Clasen <mclasen@redhat.com> - 1:2.21.9-4
- Stop gvfs from using fuse in the sandbox session
* Tue Mar 11 2008 Ray Strode <rstrode@redhat.com> - 1:2.21.9-3
- remove duplication signal definition from bad patch merge
which led to crash for "Other" user