FS#50801 - [samba] 4.5.0 breaks gvfs-smb/Nautilus
Attached to Project:
Arch Linux
Opened by George (Vash63) - Friday, 16 September 2016, 14:36 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 03 March 2022, 11:55 GMT
Opened by George (Vash63) - Friday, 16 September 2016, 14:36 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 03 March 2022, 11:55 GMT
|
Details
Description: After updating to samba 4.5.0 I am unable to
browse or connect to network shares with Nautilus. KDE's
Dolphin browser still works.
I was able to manually downgrade smbclient, samba and libwbclient to version 4.4.5-2 from my package cache and my shares are once again functional. Only nautilus related line I could find in my journal was: Sep 16 07:15:18 vashnix org.gnome.Nautilus[815]: ** (nautilus:2345): WARNING **: Failed to fetch network locations: Timeout was reached Also I'm unsure if this is related but near bootup I'm seeing: Sep 16 07:14:47 vashnix smbd[2727]: [2016/09/16 07:14:47.100710, 0] ../lib/util/become_daemon.c:124(daemon_ready) Sep 16 07:14:47 vashnix smbd[2727]: STATUS=daemon 'smbd' finished starting up and ready to serve connections Also, during this time 'smbclient -L hostname' of my desired host works perfectly, it seems only the Nautilus mounts do not work. Steps to reproduce: 1. Upgrade smbclient/samba/libwbclient to 4.5.0 2. Ensure gvfs-smb is installed 3. Open nautilus and click 'Other Locations' or type 'smb://' into the address bar 4. Watch as nothing happens and it silently fails in the system journal |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Thursday, 03 March 2022, 11:55 GMT
Reason for closing: Fixed
Additional comments about closing: 2022-02-28: A task closure has been requested. Reason for request: Fixed upstream
Thursday, 03 March 2022, 11:55 GMT
Reason for closing: Fixed
Additional comments about closing: 2022-02-28: A task closure has been requested. Reason for request: Fixed upstream
Edit: Viewing shares in nautilus works if I revert to the dbus version before dbus and libdbus were merged.
Edit: I have allowed the upgrade to the latest version of dbus and for reasons unknown it seems to work properly. No upgrades concerning anything samba or nautilus related, no changes to any configurations.
Oct 14 18:07:48 arch dbus-daemon[1302]: Activating service name='org.gnome.Nautilus'
Oct 14 18:07:48 arch dbus-daemon[1302]: Successfully activated service 'org.gnome.Nautilus'
Oct 14 18:07:49 arch dbus[823]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'
Oct 14 18:07:49 arch systemd[1]: Starting Hostname Service...
Oct 14 18:07:49 arch dbus[823]: [system] Successfully activated service 'org.freedesktop.hostname1'
Oct 14 18:07:49 arch systemd[1]: Started Hostname Service.
Oct 14 18:08:01 arch gvfsd[1325]: dbus_mount_reply: Error from org.gtk.vfs.Mountable.mount(): Failed to retrieve share list from server: Connection refused
Oct 14 18:08:01 arch gvfsd-network[2763]: Couldn't create directory monitor on smb://x-gnome-default-workgroup/. Error: The specified location is not mounted
Oct 14 18:08:01 arch dbus[823]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service'
Oct 14 18:08:01 arch dbus[823]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service not found.
Oct 14 18:08:07 arch gvfsd[1325]: dbus_mount_reply: Error from org.gtk.vfs.Mountable.mount(): Failed to retrieve share list from server: No such file or directory
Oct 14 18:08:10 arch gvfsd[1325]: dbus_mount_reply: Error from org.gtk.vfs.Mountable.mount(): Failed to retrieve share list from server: No such file or directory
https://bugzilla.gnome.org/show_bug.cgi?id=756736
These are the errors I see under Wayland trying to use samba and Nautilus.
Oct 18 10:28:41 arch dbus-daemon[1603]: Activating service name='org.gnome.Nautilus'
Oct 18 10:28:41 arch dbus-daemon[1603]: Successfully activated service 'org.gnome.Nautilus'
Oct 18 10:28:41 arch dbus[836]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'
Oct 18 10:28:41 arch systemd[1]: Starting Hostname Service...
Oct 18 10:28:41 arch nautilus[2159]: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: usershares are currently disabled
Oct 18 10:28:41 arch dbus[836]: [system] Successfully activated service 'org.freedesktop.hostname1'
Oct 18 10:28:41 arch systemd[1]: Started Hostname Service.
Oct 18 10:29:11 arch nautilus[2159]: Failed to fetch network locations: Timeout was reached
Same issue as Juan here, as of today (2018.01.17):
`$HOSTNAME gvfsd[1448]: mkdir failed on directory /var/cache/samba: Permission denied`
Can anybody enlighten us as to whether it is the same issue ?
Environment:
4.14.13-1-ARCH with Gnome3 on Xorg
samba 4.7.4-1
gvfs-smb 1.34.1+11+gad63dfb7-1
Not valid any longer on 5.16.10-1-ARCH with samba 4.15.5 and gvfs-smb 1.48.1-3.
Tx.