Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216286 - >=gnome-base/nautilus-2.22 doesn't show my mount points anymore.
Summary: >=gnome-base/nautilus-2.22 doesn't show my mount points anymore.
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords: InOverlay
: 251790 (view as bug list)
Depends on:
Blocks: gnome2.22-tracker
  Show dependency tree
 
Reported: 2008-04-05 06:26 UTC by Jan Rüegg
Modified: 2009-10-28 21:02 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Rüegg 2008-04-05 06:26:54 UTC
Before the update, I could see these nfsshares under computer:/// (even if they were not mounted) and after mounting them they had some sort of special "network share symbol".
Now they're gone, and when I mount one manually from the command line (mount /media/Synology) they are shown in gnome as "normal" partitions, like my ext3 etc partitions.

my fstab entry:
192.168.1.234:/volume1/public   /media/Synology nfs     rw,user,soft,noauto     0       0

Reproducible: Always




I'm running a gentoo amd64 unstable system:

McGentoo jan # emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.24-tuxonice-r4-mactel x86_64)
=================================================================
System uname: 2.6.24-tuxonice-r4-mactel x86_64 Intel(R) Core(TM)2 CPU T7400 @ 2.16GHz
Timestamp of tree: Fri, 04 Apr 2008 17:32:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.1-r5
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks metadata-transfer nodoc parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ "
LANG="en_GB.UTF-8"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi additions alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdaudio cdda cdio cdr cli cracklib crypt cups dbus dri dts dv dvd dvdr dvdread dvi eds emboss encode esd evo fam ffmpeg firefox foomaticdb fortran gdbm gecko gif glitz gnome gnutls gpm gstreamer gtk hal iconv ieee1394 injection ipv6 isdnlog java jpeg kerberos laptop latex ldap libwww lm_sensors mad matroska midi mikmod mmx mono mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin obex ogg opengl openmp pam pcre pda pdf perl png ppds python qt3support quicktime readline reflection reiserfs samba sdl session spell spl sse sse2 ssl stream svg symlink syslog tcpd tetex theora threads tiff truetype unicode vcd vim vim-syntax vorbis wifi wxwindows x264 xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fglrx vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sumit Khanna 2008-04-11 01:24:46 UTC
I am having the exact same problem after the gnome update. I restarted dbus/hal (which restarts X) and still had the same problem. I tried reboot, same problem. 

I don't have any NFS shares anymore, but even my local drives that are marked as such in fstab:

/dev/sdc1		/mnt/orion     jfs        defaults,user        0 2 
/dev/sde1		/mnt/alpha_centauri jfs   defaults,user  0 2
/dev/sdd1               /mnt/saturn    jfs        defaults,user  0 2

...they no longer show up.

cassius@raphael ~ $ emerge --info
Portage 2.1.5_rc2 (default-linux/amd64/2006.1/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.24-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r3 x86_64 Intel(R) Pentium(R) D CPU 2.80GHz
Timestamp of tree: Thu, 10 Apr 2008 08:30:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.3.6-r2, 2.4.4-r4, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O3 -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US"
LC_ALL="en_US"
LDFLAGS=""
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi aim alsa amd64 audiofile berkdb bluetooth browserplugin bzip2 cairo cdinstall cdparanoia cdr cli cracklib crypt cups dbus dri dts dvd dvdr dvdread eds emboss emul-linux-x86 encode exif fam ffmpeg firefox flac fortran ftp gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml hal iconv ipv6 isdnlog java jpeg kde ldap lirc log4j mad matroska midi mikmod mono mp3 mpeg msn mudflap mysql ncurses nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl openmp pam pcre pda pdf perl png ppds pppd python qt3 qt4 quicktime readline reflection rtc samba sdl seamonkey session spell spl ssl svg tcpd theora truetype unicode usb vcd vorbis wmf xinerama xml xorg xscreensaver xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" LIRC_DEVICES="logitech" USERLAND="GNU" VIDEO_CARDS="nvidia trident"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2008-04-11 23:51:45 UTC
(In reply to comment #1)
> I don't have any NFS shares anymore, but even my local drives that are marked
> as such in fstab:
> 
> /dev/sdc1               /mnt/orion     jfs        defaults,user        0 2 
> /dev/sde1               /mnt/alpha_centauri jfs   defaults,user  0 2
> /dev/sdd1               /mnt/saturn    jfs        defaults,user  0 2
> 
> ...they no longer show up.

Easy, don't put them in the fstab. HAL will then pick them up.

@Herd, we should probably add a note in the Upgrade Guide, shouldn't we? Just vote "Aye" or "Nay" and I'll write it there. :)
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-04-12 14:02:58 UTC
Same here obviously, it stopped showing custom mountpoints and only shows HAL provided information. Workaround would probably be to describe those volumes in some hal fdi files but...
Comment 4 Jan Rüegg 2008-04-13 09:04:22 UTC
(In reply to comment #3)
> Same here obviously, it stopped showing custom mountpoints and only shows HAL
> provided information. Workaround would probably be to describe those volumes in
> some hal fdi files but...
> 

So is there no possibility anymore, to show these NFS-shares anymore in gnome? Or do I just have to configure it elsewhere now?
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-04-13 09:31:16 UTC
not as far as I know. I haven't had time to dig upstream's bugzilla but didn't see anything about this on the mailing list.
Comment 6 Sumit Khanna 2008-04-24 04:03:45 UTC
This really makes no sense at all. If I leave them out of fstab, yes they show up, but if the system did not shut down correctly, it is impossible to mount them without opening a terminal and fscking them manually as root. 

I found this:
http://ubuntuforums.org/archive/index.php/t-376318.html

But the xml segment they talk about in the thread doesn't exist on my Gentoo box. The word "fstab" doesn't appear anywhere in the file 20-storage-methods.fdi 
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-04-28 23:28:26 UTC
adding gentopia people to see if comment #6 has anything that could concern hal in gentoo. From the test I did, nothing in the thread changed anything but since I'm no hal expert :)
Comment 8 Doug Goldstein (RETIRED) gentoo-dev 2008-04-29 04:16:39 UTC
HAL doesn't get involved in NFS at all.
Comment 9 Arun Raghavan (RETIRED) gentoo-dev 2008-05-26 10:19:25 UTC
(In reply to comment #8)
> HAL doesn't get involved in NFS at all.

Comment #6 (and comment #1) actually refer to local mounts too.
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-06-05 20:30:33 UTC
and there goes the upstream bug.
Comment 11 Alexandre Ghisoli 2008-07-01 15:25:00 UTC
There is 2 _differents_ issues here : 

1/ Show up local HDD mount. The answer is use HAL instead of fstab. But the rules are not easy to setup.

2/ NFS mount point, as HAL is not used in this area. Upstream bug seems to exist, but not so many activity :
http://bugzilla.gnome.org/show_bug.cgi?id=536292

Should this bug be splitted ?
Comment 12 Alexandre Ghisoli 2008-11-17 13:46:50 UTC
This is not a bug, but a feature ...

Look at this upstream repport :
http://bugzilla.gnome.org/show_bug.cgi?id=520736#c1

In short, if you want to see your NFS share, you have to move them from /mnt (or any other mountpoint) to /media (aka edit your /etc/fstab).

This is the only way to see the NFS mountpoint under computer:/// in Nautilus.

I really didnt like to be forced to use a "standard and unique" mount point for my drives, I think it's a loss in term of usability (you have to mount everything in /media then symlink your drives if you want it mounted somewhere else).

On my computer with gnome-base/gvfs-1.0.2, it's working like it's explained here.

Hope this helps
Comment 13 Marcello Magaldi 2008-11-18 09:49:28 UTC
(In reply to comment #12)
> This is not a bug, but a feature ...
> 
> Look at this upstream repport :
> http://bugzilla.gnome.org/show_bug.cgi?id=520736#c1
> 
> In short, if you want to see your NFS share, you have to move them from /mnt
> (or any other mountpoint) to /media (aka edit your /etc/fstab).
> 
> This is the only way to see the NFS mountpoint under computer:/// in Nautilus.
> 
> I really didnt like to be forced to use a "standard and unique" mount point for
> my drives, I think it's a loss in term of usability (you have to mount
> everything in /media then symlink your drives if you want it mounted somewhere
> else).
> 
> On my computer with gnome-base/gvfs-1.0.2, it's working like it's explained
> here.
> 
> Hope this helps
> 

I can confirm that moving mountpoints to /media/ works also for local devices, I did as you said : I moved my mountpoint from /mnt/data to /media/data and since I set a particular dir in /mnt/data to be exported with nfs I made a simlynk from /mnt/data to /media/data so I didn't need to change nfs exports .
 

Comment 14 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-12-21 14:23:20 UTC
*** Bug 251790 has been marked as a duplicate of this bug. ***
Comment 15 Michael Stather 2008-12-21 16:24:19 UTC
But local mounts which aren't in fstab still don't work out-of-the-box with the automated stages. Even if gentoo is about configuring, this should IMO work without doing anything, like in other distros.
Comment 16 Sumit Khanna 2008-12-23 13:51:55 UTC
I can confirm that moving the mount points for NFS connections in my fstab to /media allowed for those NFS mounts to show up in Nautilus. I too made sym links from /mnt to /media. 

Using /media does make sense since it's what hal/dbus use for all dynamic drives and it's a more human understandable name for desktop aimed distributions than /mnt. It'd just be nice if this was documented somewhere other than this bug.  
Comment 17 Marcello Magaldi 2008-12-23 13:54:40 UTC
(In reply to comment #16)
> [...]
>It'd just be nice if this was documented somewhere
> other than this bug.  
> 

I agree with you, this fact should be reported in a gnome migration guide (from 2.20->2.22) 
Comment 18 Marcello Magaldi 2009-03-12 09:25:39 UTC
(In reply to comment #16)
> I can confirm that moving the mount points for NFS connections in my fstab to
> /media allowed for those NFS mounts to show up in Nautilus. I too made sym
> links from /mnt to /media. 
> 
> Using /media does make sense since it's what hal/dbus use for all dynamic
> drives and it's a more human understandable name for desktop aimed
> distributions than /mnt. It'd just be nice if this was documented somewhere
> other than this bug.  
> 

on nautilus-2.24 neither using /media instead of /mnt works for local filesystems : I added this line to mine /etc/fstab :

/dev/sda1               /media/win      ntfs-3g         noauto,rw,user,users,codepage=850,iocharset=iso8859-15,utf8     0 0

using terminal I can mount/umount /media/win but in computer:// when /media/win is unmounted I cannot see the win Icon, I can see it only after a mount (using terminal) , and if I unmount it disappears again . For me it is a regression respect 2.22 .


Comment 19 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-03-12 10:03:15 UTC
please add this comment to the upstream bug.
Comment 20 Marcello Magaldi 2009-03-12 14:05:21 UTC
(In reply to comment #19)
> please add this comment to the upstream bug.
> 

I reported to the upstream bug in the URL field of this bug
Comment 21 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-10 09:22:51 UTC
this has been fixed in development version of nautilus. Not sure of easy it is to backport this yet.

Removing fdo-bugs from CC since there is no need to bother them.
Comment 22 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-10-28 21:02:34 UTC
The fix is now available in overlay, most likely needs gvfs[gdu] for those who cares. Thanks for watching.