gvfsd-fuse does not create mount point
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gvfs (Ubuntu) |
Confirmed
|
High
|
Unassigned | ||
gvfs (openSUSE) |
New
|
Undecided
|
Unassigned |
Bug Description
gvfsd should not start twice...
I have just upgraded to 15.4 and found that gvfsd-fuse does not seem to be creating the mount points for gvfs-mount. I have found a work round for this problem that seem to indicate that at startup there is a problem with gvfsd.. Here is some more information.
I have a mounted file system that appear in nautilus when I log into the system.
$ cat .config/
[Desktop Entry]
Type=Application
Exec=gvfs-mount smb://homevista/Q
Hidden=false
NoDisplay=false
X-GNOME-
Name[en_GB]=Mount Q
Name=Mount Q
Comment[en_GB]=
Comment=
$ gvfs-mount -l
Drive(0): WDC WD1001FAES-75W7A0
Type: GProxyDrive (GProxyVolumeMo
Drive(1): PLDS DVDRW/BDROM DH-6E2S
Type: GProxyDrive (GProxyVolumeMo
Drive(2): Generic- SD/MMC
Type: GProxyDrive (GProxyVolumeMo
Drive(3): Generic- Compact Flash
Type: GProxyDrive (GProxyVolumeMo
Drive(4): Generic- SM/xD-Picture
Type: GProxyDrive (GProxyVolumeMo
Drive(5): Generic- MS/MS-Pro
Type: GProxyDrive (GProxyVolumeMo
Mount(0): q on homevista -> smb://homevista/q/
Type: GDaemonMount
But there is no mount point
$ ls -als /run/user/1000/gvfs
total 0
0 dr-x------ 2 pas pas 0 May 2 20:38 .
0 drwx------ 10 pas pas 280 May 2 20:39 ..
The following are the processes running:
$ ps axu | grep gvfs
pas 2280 0.0 0.0 193280 5788 ? Sl 20:38 0:00 /usr/lib/gvfs/gvfsd
pas 2284 0.0 0.0 335220 5332 ? Sl 20:38 0:00 /usr/lib/
pas 2384 0.0 0.0 193384 5944 ? Sl 20:38 0:00 /usr/lib/gvfs/gvfsd
pas 2662 0.0 0.1 467648 14820 ? SLl 20:38 0:00 /usr/lib/
pas 2681 0.0 0.1 282728 9320 ? Sl 20:38 0:00 /usr/lib/
pas 2695 0.0 0.1 322088 10332 ? Sl 20:38 0:00 /usr/lib/
pas 2700 0.0 0.0 197792 5448 ? Sl 20:38 0:00 /usr/lib/
pas 2707 0.0 0.0 185620 5144 ? Sl 20:38 0:00 /usr/lib/
pas 2742 0.0 0.0 267012 4788 ? Sl 20:39 0:00 /usr/lib/
pas 2747 0.0 0.1 419004 8404 ? Sl 20:39 0:00 /usr/lib/
pas 2773 0.0 0.1 118512 10984 ? Sl 20:39 0:00 /usr/lib/
pas 3864 0.0 0.1 239880 8196 ? Sl 20:40 0:00 /usr/lib/
pas 3868 7.2 3.7 1021928 303460 ? Sl 20:40 0:17 /usr/lib/
pas 4023 0.0 0.0 9500 2124 pts/1 S+ 20:44 0:00 grep --color=auto gvfs
Notice that there are two /usr/lib/
$ /usr/lib/gvfs/gvfsd
Failed to acquire daemon name, perhaps the VFS daemon is already running?
Anyway my work round for this issue is to unmount my smb drive, kill off gvfs and restart
$ sudo killall -9 gvfsd
$ ps axu | grep gvfs
pas 2681 0.0 0.1 282728 9320 ? Sl 20:38 0:00 /usr/lib/
pas 2695 0.0 0.1 322088 10332 ? Sl 20:38 0:00 /usr/lib/
pas 2700 0.0 0.0 197792 5448 ? Sl 20:38 0:00 /usr/lib/
pas 2707 0.0 0.0 185620 5144 ? Sl 20:38 0:00 /usr/lib/
pas 2742 0.0 0.0 267012 4788 ? Sl 20:39 0:00 /usr/lib/
pas 2747 0.0 0.1 419004 8404 ? Sl 20:39 0:00 /usr/lib/
pas 2773 0.0 0.1 118512 10984 ? Sl 20:39 0:00 /usr/lib/
pas 3864 0.0 0.1 239880 8196 ? Sl 20:40 0:00 /usr/lib/
pas 3868 4.6 4.4 1062836 362492 ? Sl 20:40 0:59 /usr/lib/
pas 4190 0.0 0.0 274008 6732 pts/1 Sl 20:54 0:00 /usr/lib/
pas 4195 0.0 0.1 537216 14276 pts/1 Sl 20:54 0:00 /usr/lib/
pas 4203 0.0 0.0 275764 5996 pts/1 Sl 20:54 0:00 /usr/lib/
pas 4285 0.0 0.0 193280 5760 pts/3 Sl+ 21:01 0:00 /usr/lib/gvfs/gvfsd
pas 4295 0.0 0.1 335220 11688 pts/3 Sl+ 21:01 0:00 /usr/lib/
pas 4303 0.0 0.0 9500 2112 pts/1 S+ 21:02 0:00 grep --color=auto gvfs
Now there is only one gvfsd so the mount works
$ gvfs-mount smb://homevista/Q
Password required for share q on homevista
Domain [PASCOM]:
Password:
$ ls -als /run/user/1000/gvfs
total 12
0 dr-x------ 3 pas pas 0 May 2 21:01 .
0 drwx------ 10 pas pas 280 May 2 20:39 ..
12 drwx------ 1 pas pas 12288 Apr 16 21:00 smb-share:
My conclusion is that somehow gvfsd gets started twice at login... this should not be possible but appear to occur. In earlier version of Ubuntu like 14.10 this did not happen. It has only started happening when I upgraded to 15.4
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: gvfs 1.24.1-1ubuntu1
ProcVersionSign
Uname: Linux 3.19.0-15-generic x86_64
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Sat May 2 20:40:29 2015
InstallationDate: Installed on 2011-02-22 (1529 days ago)
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
SourcePackage: gvfs
UpgradeStatus: Upgraded to vivid on 2015-05-02 (0 days ago)
Changed in gvfs (Ubuntu): | |
importance: | Undecided → High |
Status changed to 'Confirmed' because the bug affects multiple users.