Bug#663140: nautilus: CIFS mounted shares appear twice in tree-view pane

2012-05-04 Thread Ulrich Krause

Hi Alexander,

for me a trailing slash for the source did the trick, so you may try

$ cat /etc/fstab
//slug/nfs/ /media/slug cifs rw,sec=ntlmv2,user=nfs,password=xxx 0 0
#this one ^

As far as I got it, the mtab entry receives the slash automatically 
while mounting, resulting in different entries in mtab and fstab. And 
that causes further confusion, because the fstab entry can still be 
mounted, resulting in multiple entries for the same source/directory 
pair. I neither know if adding this slash while mounting is a bug, nor 
which package is responsible. But I thought the slogan It's not a bug, 
it's a feature ! had a Microsoft copyright.


I am using the following options in fstab:

//host/share/ /mnt/point cifs noauto,user,credentials=/path-to/cred_file

where cred_file contains three lines (NO spaces around the = sign !):
username=user
password=pw
domain=dom

Without the noauto option the source gets mounted by root. The user 
in the credentials file is ignored (another bug ?).
The user (or users) option is necessary to display the unmounted 
share in nautilus. The mounting happens at the first click.



I hope this was helpful.
Ulrich

attachment: ulrich_krause.vcf

Bug#663140: nautilus: CIFS mounted shares appear twice in tree-view pane

2012-03-08 Thread Alexander Pohl
Package: nautilus
Version: 2.30.1-2squeeze1
Severity: minor

Hi,

CIFS mounted shares (from Samba 2:3.2.5-4lenny) appear twice in the nautilus
tree-view pane. One entry with a hard drive icon and the eject symbol next to
it is the correct one which opens the share when clicking. The other has a
floppy drive icon and gives the following error message:

Unable to mount slug
mount: according to mtab, //slug/nfs/ is already mounted on /media/slug
mount failed

The entry from fstab:

$ cat /etc/fstab
//slug/nfs  /media/slug cifsrw,sec=ntlmv2,user=nfs,password=xxx
0   0

Although this bug is only a cosmetic one, it still annoys me for some time now
as I keep clicking the wrong icon. I confirmed that exporting the share as nfs4
filesystem, only one icon appears. On previous Debian version, Debian Lenny,
the same CIFS share (with identical fstab entry) mounted with only one icon in
nautilus. hope this is the right package to file the bug under, but maybe it
really belongs to cifs-utils package instead?

Cheers,
Alexander



-- System Information:
Debian Release: 6.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nautilus depends on:
ii  desktop-file-utils 0.15-2Utilities for .desktop files
ii  gvfs   1.6.4-3   userspace virtual filesystem - ser
ii  libatk1.0-01.30.0-1  The ATK accessibility toolkit
ii  libc6  2.11.3-2  Embedded GNU C Library: Shared lib
ii  libcairo2  1.8.10-6  The Cairo 2D vector graphics libra
ii  libdbus-glib-1-2   0.88-2.1  simple interprocess messaging syst
ii  libexempi3 2.1.1-1   library to parse XMP metadata (Lib
ii  libexif12  0.6.19-1  library to parse EXIF files
ii  libgail18  2.20.1-2  GNOME Accessibility Implementation
ii  libgconf2-42.28.1-6  GNOME configuration database syste
ii  libglib2.0-0   2.24.2-1  The GLib library of C routines
ii  libglib2.0-data2.24.2-1  Common files for GLib library
ii  libgnome-desktop-2 2.30.2-2  Utility library for loading .deskt
ii  libgtk2.0-02.20.1-2  The GTK+ graphical user interface 
ii  libice62:1.0.6-2 X11 Inter-Client Exchange library
ii  libnautilus-extens 2.30.1-2squeeze1  libraries for nautilus components 
ii  libpango1.0-0  1.28.3-1+squeeze2 Layout and rendering of internatio
ii  libselinux12.0.96-1  SELinux runtime shared libraries
ii  libsm6 2:1.1.1-1 X11 Session Management library
ii  libunique-1.0-01.1.6-1.1 Library for writing single instanc
ii  libx11-6   2:1.3.3-4 X11 client-side library
ii  libxml22.7.8.dfsg-2+squeeze3 GNOME XML library
ii  libxrender11:0.9.6-1 X Rendering Extension client libra
ii  nautilus-data  2.30.1-2squeeze1  data files for nautilus
ii  shared-mime-info   0.71-4FreeDesktop.org shared MIME databa

Versions of packages nautilus recommends:
ii  app-install-d 2010.11.17 Application Installer Data Files
ii  brasero   2.30.3-2   CD/DVD burning application for GNO
ii  consolekit0.4.1-4framework for defining and trackin
ii  desktop-base  6.0.5squeeze1  common files for the Debian Deskto
ii  eject 2.1.5+deb1+cvs20081104-7.1 ejects CDs and operates CD-Changer
ii  gvfs-backends 1.6.4-3userspace virtual filesystem - bac
ii  librsvg2-comm 2.26.3-1   SAX-based renderer library for SVG
ii  synaptic  0.70~pre1+b1   Graphical package manager

Versions of packages nautilus suggests:
ii  eog2.30.2-1  Eye of GNOME graphics viewer progr
ii  evince [pdf-viewer]2.30.3-2+squeeze1 Document (PostScript, PDF) viewer
ii  totem  2.30.2-6  A simple media player for the GNOM
pn  trackernone(no description available)
ii  vlc [mp3-decoder]  1.1.3-1squeeze6   multimedia player and streamer
ii  vlc-nox [mp3-decoder]  1.1.3-1squeeze6   multimedia player and streamer (wi
ii  xdg-user-dirs  0.13-2tool to manage well known user dir

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org