Your message dated Sun, 10 Feb 2013 18:30:44 +0100 with message-id <20130210173044.GF8837@radis.cristau.org> and subject line Re: Bug#699814: unblock: gvfs/1.12.3-4 has caused the Debian Bug report #699814, regarding unblock: gvfs/1.12.3-4 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 699814: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=699814 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: unblock: gvfs/1.12.3-4
- From: Josselin Mouette <joss@debian.org>
- Date: Tue, 5 Feb 2013 15:59:13 +0100
- Message-id: <20130205145913.GA1299@malsain.org>
Package: release.debian.org Severity: normal User: release.debian.org@packages.debian.org Usertags: unblock Please unblock package gvfs to work around a RC bug. gvfs (1.12.3-4) unstable; urgency=low * 06_metadata_nfs.patch: new patch. Disable gvfsd-metadata entirely on remote filesystems. It is better to miss functionality than to hammer the server. Closes: #624507. unblock gvfs/1.12.3-4 Thanks, -- .''`. Josselin Mouette : :' : `. `' `-Index: gvfs-1.12.3/metadata/meta-daemon.c =================================================================== --- gvfs-1.12.3.orig/metadata/meta-daemon.c 2013-02-05 15:27:50.107139266 +0100 +++ gvfs-1.12.3/metadata/meta-daemon.c 2013-02-05 15:29:47.563713526 +0100 @@ -25,6 +25,7 @@ #include <glib.h> #include <glib/gi18n.h> #include <glib/gstdio.h> +#include <gio/gio.h> #include <locale.h> #include <stdlib.h> #include <dbus/dbus.h> @@ -681,6 +682,34 @@ static struct DBusObjectPathVTable metad metadata_message }; +static gboolean +home_is_remote (void) +{ + GFile *homedir = g_file_new_for_path (g_get_home_dir ()); + GFileInfo *info = g_file_query_filesystem_info (homedir, + G_FILE_ATTRIBUTE_FILESYSTEM_TYPE, + NULL, NULL); + gboolean retval = FALSE; + + if (info) + { + const char *fstype = g_file_info_get_attribute_string (info, + G_FILE_ATTRIBUTE_FILESYSTEM_TYPE); + if (fstype && (g_str_has_prefix (fstype, "nfs") || + g_str_has_prefix (fstype, "smb") || + g_str_equal (fstype, "cifs") || + g_str_equal (fstype, "9p") || + g_str_equal (fstype, "ceph") || + g_str_equal (fstype, "coda") || + g_str_has_prefix (fstype, "ocfs") || + g_str_has_prefix (fstype, "gfs"))) + retval = TRUE; + g_object_unref (info); + } + g_object_unref (homedir); + return retval; +} + int main (int argc, char *argv[]) { @@ -729,6 +758,12 @@ main (int argc, char *argv[]) g_type_init (); + if (home_is_remote ()) + { + g_printerr ("Remote filesystem detected, shutting down.\n"); + return 1; + } + loop = g_main_loop_new (NULL, FALSE); dbus_error_init (&derror);
--- End Message ---
--- Begin Message ---
- To: Josselin Mouette <joss@debian.org>, 699814-done@bugs.debian.org
- Subject: Re: Bug#699814: unblock: gvfs/1.12.3-4
- From: Julien Cristau <jcristau@debian.org>
- Date: Sun, 10 Feb 2013 18:30:44 +0100
- Message-id: <20130210173044.GF8837@radis.cristau.org>
- In-reply-to: <20130205145913.GA1299@malsain.org>
- References: <20130205145913.GA1299@malsain.org>
On Tue, Feb 5, 2013 at 15:59:13 +0100, Josselin Mouette wrote: > Package: release.debian.org > Severity: normal > User: release.debian.org@packages.debian.org > Usertags: unblock > > Please unblock package gvfs to work around a RC bug. > > gvfs (1.12.3-4) unstable; urgency=low > > * 06_metadata_nfs.patch: new patch. Disable gvfsd-metadata entirely on > remote filesystems. It is better to miss functionality than to > hammer the server. Closes: #624507. > > unblock gvfs/1.12.3-4 > Unblocked. Though the bug log suggests the initial submitter's issue is still there... Cheers, JulienAttachment: signature.asc
Description: Digital signature
--- End Message ---