← Back to team overview

desktop-packages team mailing list archive

[Bug 1381624] [NEW] gvfs timeout (trusty)

 

Public bug reported:

Hello,

I have an issue with gvfs-mount on Ubuntu 14.04 (trusty).

Summary :
When I mount a Windows share (CIFS) via gvfs-mount, and I don't access to it while about 30 minutes, then when I try to access to it via Nautilus or a terminal (ls command for example), I have to wait about 20 seconds to display the directory contents.

Below, how to reproduce the problem :
1. Mount a Windows share (CIFS) via gvfs-mount command : 'gvfs-mount smb://ubuntu-tester@winsrv/d$'
2. Check the share is mounted in '/run/user/999/gvfs/smb-share:server=winsrv,share=d$,user=ubuntu-tester'
3. Wait about 30 minutes without accessing to this share
4. Access to this share via 'ls' command for example : 'ls /run/user/999/gvfs/smb-share:server=winsrv,share=d$,user=ubuntu-tester/Temp/test' => I have to wait about 20 seconds to display 'ls' output like if the share is umounted after x minutes without accessing to it and gvfs-mount mounts it when I try to access to it.

If I run 'strace ls /run/user/999/gvfs/smb-share:server=winsrv,share=d$,user=ubuntu-tester/Temp/test', 
I have to wait at : 
stat("/run/user/999/gvfs/smb-share:server=winsrv,share=d$,user=ubuntu-tester/Temp/test",
of the line : 
stat("/run/user/999/gvfs/smb-share:server=winsrv,share=d$,user=ubuntu-tester/Temp/test", {st_mode=S_IFDIR|0700, st_size=0, ...}) = 0

I found this issue on my computer at work (specific configuration) and on my computer at home (standard configuration).
Tested with Windows XP / 7 / 2003 Server Shares.

I don't have this issue on Ubuntu 12.04.

If you need complementary information, don't hesitate to ask me.

Thanks for your help.

** Affects: gvfs (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/1381624

Title:
  gvfs timeout (trusty)

Status in “gvfs” package in Ubuntu:
  New

Bug description:
  Hello,

  I have an issue with gvfs-mount on Ubuntu 14.04 (trusty).

  Summary :
  When I mount a Windows share (CIFS) via gvfs-mount, and I don't access to it while about 30 minutes, then when I try to access to it via Nautilus or a terminal (ls command for example), I have to wait about 20 seconds to display the directory contents.

  Below, how to reproduce the problem :
  1. Mount a Windows share (CIFS) via gvfs-mount command : 'gvfs-mount smb://ubuntu-tester@winsrv/d$'
  2. Check the share is mounted in '/run/user/999/gvfs/smb-share:server=winsrv,share=d$,user=ubuntu-tester'
  3. Wait about 30 minutes without accessing to this share
  4. Access to this share via 'ls' command for example : 'ls /run/user/999/gvfs/smb-share:server=winsrv,share=d$,user=ubuntu-tester/Temp/test' => I have to wait about 20 seconds to display 'ls' output like if the share is umounted after x minutes without accessing to it and gvfs-mount mounts it when I try to access to it.

  If I run 'strace ls /run/user/999/gvfs/smb-share:server=winsrv,share=d$,user=ubuntu-tester/Temp/test', 
  I have to wait at : 
  stat("/run/user/999/gvfs/smb-share:server=winsrv,share=d$,user=ubuntu-tester/Temp/test",
  of the line : 
  stat("/run/user/999/gvfs/smb-share:server=winsrv,share=d$,user=ubuntu-tester/Temp/test", {st_mode=S_IFDIR|0700, st_size=0, ...}) = 0

  I found this issue on my computer at work (specific configuration) and on my computer at home (standard configuration).
  Tested with Windows XP / 7 / 2003 Server Shares.

  I don't have this issue on Ubuntu 12.04.

  If you need complementary information, don't hesitate to ask me.

  Thanks for your help.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1381624/+subscriptions


Follow ups

References