Bug#557281: fails to ignore nfs mounts and hangs

Joey Hess joeyh at debian.org
Fri Nov 20 22:02:09 UTC 2009


Package: gnome-settings-daemon
Version: 2.28.1-1
Severity: normal

The gsd-disk-space plugin periodically polls filesystems. If a NFS
mountpoint is not responding (due to a network problem, NFS server
being down, having relocated the laptop to a mountiantop w/o
remembering to umount, etc), this poll can cause gnome-settings-daemon
to hang in an uninteruptable sleep indefinitly.

This has annoying, apparently unrelated consequences, such as
the volume control keys not working, various programs complaining
that g-s-d is not running, etc.

gsd-disk-space.c contains a ignore_fs array that is used to
exclude many types of filesystems from being polled. This includes
a "nfsd" type, but that will not exclude normal nfs mounts, which
have a type "nfs". (The "nfsd" filesystem type is actually used to
access the control interface of the nfs daemon, on a NFS server.)

BTW, sshfs mounts are not affected, apparently some other heuristic 
than the exclude lists causes them to be skipped earlier. Other network
filesystem mounts are likely also to cause the same sort of problem.

(BTW, I was curious why zfs is in the exclude list; there seems no
reason to exclude zfs from low disk space checks. It's there because the
lists were copied from glib, which uses them for a rather different
purpose, and the zfs exclusion was put in to deal with this bug there:
https://bugzilla.gnome.org/show_bug.cgi?id=542156 )

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnome-settings-daemon depends on:
ii  gconf2                        2.28.0-1   GNOME configuration database syste
ii  libc6                         2.10.1-6   GNU C Library: Shared libraries
ii  libcairo2                     1.8.8-2    The Cairo 2D vector graphics libra
ii  libdbus-1-3                   1.2.16-2   simple interprocess messaging syst
ii  libdbus-glib-1-2              0.82-2     simple interprocess messaging syst
ii  libfontconfig1                2.6.0-4    generic font configuration library
ii  libgconf2-4                   2.28.0-1   GNOME configuration database syste
ii  libglib2.0-0                  2.22.2-2   The GLib library of C routines
ii  libgnome-desktop-2-11         2.28.1-1   Utility library for loading .deskt
ii  libgnomekbd4                  2.28.0-2   GNOME library to manage keyboard c
ii  libgstreamer-plugins-base0.10 0.10.25-5  GStreamer libraries from the "base
ii  libgstreamer0.10-0            0.10.25-3  Core GStreamer libraries and eleme
ii  libgtk2.0-0                   2.18.3-1   The GTK+ graphical user interface 
ii  libnotify1 [libnotify1-gtk2.1 0.4.5-1    sends desktop notifications to a n
ii  libx11-6                      2:1.2.2-1  X11 client-side library
ii  libxi6                        2:1.2.1-2  X11 Input extension library
ii  libxklavier15                 4.0-2      X Keyboard Extension high-level AP
ii  libxxf86misc1                 1:1.0.1-3  X11 XFree86 miscellaneous extensio

gnome-settings-daemon recommends no packages.

Versions of packages gnome-settings-daemon suggests:
ii  gnome-screensaver            2.28.0-1+b1 GNOME screen saver and locker
ii  matchbox-window-manager [x-w 1.2-4       window manager for resource-limite
ii  metacity [x-window-manager]  1:2.28.0-2  lightweight GTK+ window manager
ii  twm [x-window-manager]       1:1.0.4-2   Tab window manager
ii  x11-xserver-utils            7.4+2       X server utilities

-- no debconf information

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20091120/024b714f/attachment.pgp>


More information about the pkg-gnome-maintainers mailing list