FS#18908 - [nautilus] can't access windows/samba shares

Attached to Project: Arch Linux
Opened by Jorge Ortega (stargeizer) - Thursday, 01 April 2010, 14:26 GMT
Last edited by Ionut Biru (wonder) - Monday, 31 May 2010, 19:28 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Ionut Biru (wonder)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Updating to gnome 2.30 and all related packages will break the ability to browse all windows/samba shares.

Open nautilus and type smb://xx.xx.xx.xx (xx.xx.xx.xx is the ip address of any machine) and the operation will never end (error or anything)... wait... 5 minutes after i get the following message:

"DBus error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired or the network connection was broken"

The share can be browsed from other machines. Trying to browse the "net" with nautilus gives the same results.

Enabled all pertinent daemons (hal, dbus, samba). And tested (strange thing considering gnome is not in "testing" repository) with nsswitch.conf with "wins" parameter (gives a segfault and in the command line an "aborted" message) and without (only possible to browse using ip). I think there's another bug report about wins and nsswitch...
Closed by  Ionut Biru (wonder)
Monday, 31 May 2010, 19:28 GMT
Reason for closing:  Fixed
Additional comments about closing:  samba 3.5.3
Comment by Brian Johnson (alienvenom) - Thursday, 01 April 2010, 15:02 GMT
I believe this is a know issue upstream with the samba
folks. I had this issue with gnome 2.28 as well and the only solution I know of is to downgrade smbclient to smbclient-3.4.6-1-i686.pkg.tar.gz

I am not sure if this is possible in gnome 2.30 due to other dependencies on smbclient >= 3.5
Comment by Andrea Scarpino (BaSh) - Thursday, 01 April 2010, 15:03 GMT
  • Field changed: Summary (Gnome 2.30 can't access windows/samba shares → [nautilus] can't access windows/samba shares)
  • Field changed: Status (Unconfirmed → Assigned)
  • Task assigned to Jan de Groot (JGC), Ionut Biru (wonder)
maybe this is related to samba's openssl rebuild. DEVs know more about this, assigned.
Comment by Jorge Ortega (stargeizer) - Thursday, 01 April 2010, 15:21 GMT
Is possible to force a downgrade to samba 3.4.6, but it will not work with gnome 2.30.
Comment by Ionut Biru (wonder) - Thursday, 01 April 2010, 15:29 GMT
works for me. i'm using this every day and is working flawless

edit: if i remember well, sometimes accessing uses gvfs 90% processor and when i kill it i have your error
Comment by Jorge Ortega (stargeizer) - Thursday, 01 April 2010, 16:05 GMT
Here we can't browse samba/windows shares using even smb://xx.xx.xx.xx to the machine (windows or linux with smb)... Trying to compile samba from git to see what happens...



Comment by Ionut Biru (wonder) - Thursday, 01 April 2010, 16:06 GMT
to be fair i don't think is a bug in nautilus but rather in gvfs
Comment by Ionut Biru (wonder) - Thursday, 01 April 2010, 16:36 GMT Comment by Jorge Ortega (stargeizer) - Thursday, 01 April 2010, 16:51 GMT
sigh... we'll have to wait then...
Comment by Brian Johnson (alienvenom) - Thursday, 01 April 2010, 19:41 GMT
This appears to be the same as  FS#18653 

Also, reported upstream to samba as well: https://bugzilla.samba.org/show_bug.cgi?id=7250
Comment by Jorge Ortega (stargeizer) - Thursday, 08 April 2010, 17:05 GMT
Mixed bag:

Using the current repo, i can at least go to smb://xx.xx.xx.xx and allows me to browse files and so... Good for one.. but i can't use the "Network" icon in the nautilus window... will just get an Dbus error 5 minutes later or so.... always something... but i can ping or call any samba machine by name, just by IP. (try to do a smb://this_machine will produce an error message (sometimes segfault, sometimes Dbus)... and pinging using the command line will give an "Aborted" message...

Well... using the testing repo, and doing a pacman -Syu, reboot (or else pacman will complain about libcrypto and libssl), i tested samba 3.5.2 and at least i recover the ability to browse the network using the command line. (ping works, command line samba tools works) But now i can't use gnome to display smb shares even if i try to do a smb://xx.xx.xx.xx. Doing so will produce a Dbus error after 5 minutoes or so...

Well... partially broken in current and partially broken in testing, diferent ways...

Comment by Dale Blount (dale) - Saturday, 10 April 2010, 05:14 GMT
Happening to me too, fully updated as of now.
Comment by Jorge Ortega (stargeizer) - Monday, 12 April 2010, 18:03 GMT
The bug is workarounded upstream...

patch is here : https://bugzilla.gnome.org/show_bug.cgi?id=606902

for what i understand, the bug is in Dbus... now all we need is a developer that can apply the patch and put a testing package online...
Comment by Ionut Biru (wonder) - Friday, 16 April 2010, 19:51 GMT
fix commited in libgnome-keyring 2.30.0-2
Comment by Brian Johnson (alienvenom) - Sunday, 18 April 2010, 01:40 GMT
@wonder not sure what you meant by a fix commmited in libgnome-keyring-2.30.0-2, but it's definitely not fixed. same dbus error after updating.
Comment by Ionut Biru (wonder) - Sunday, 18 April 2010, 08:51 GMT
still takes 5 minutes and 100% CPU ?
Comment by Jorge Ortega (stargeizer) - Monday, 19 April 2010, 13:21 GMT
Edited: Still not 100% functional... see next message...

(Still takes more CPU usage/time than the older versions (i mean gnome 2.28) but at least the windows shares/samba shares are browseable again without the CLI.

After updating, is needed to reboot though. (otherwise, dbus errors will appear))

Regards

J.
Comment by Jorge Ortega (stargeizer) - Monday, 19 April 2010, 14:44 GMT
I talked too soon.

Connecting with windows shares is possible ONLY if anothes process(es) taking less than 50% CPU time (more or less)... having another process using more than 50% and try to browse a windows share often will produce a Dbus error. (timeout by message bus)

Connecting to linux shares via samba, will way often produce an Dbus timeout error, even if CPU usage is near 0%.

sigh... we'll have to report upstream again...

UPDATE: i got also this message of error in the logs:

kernel: gvfsd-smb[3269]: segfault at c35dec79 ip b75a9f68 sp b6533b50 error 5 in libsmbclient.so.0[b7141000+5a3000]

This happens when a Dbus timeout is triggered, both when connecting to windows and linux shares.

Regards

J.


Comment by Fraterius (Fraterius) - Monday, 19 April 2010, 20:33 GMT
My Arch is up to date, and even though my CPU usage is at 2%, I got DBus error every time (no exception), for me only solution is to mount samba share from terminal.

PS. I also have such error in logs:

gvfsd-smb[7101]: segfault at c35dec79 ip b7606f68 sp b66ddb50 error 5 in libsmbclient.so.0[b719e000+5a3000]
Comment by Ionut Biru (wonder) - Monday, 19 April 2010, 20:36 GMT
yes, from know own is a samba bug. see  FS#18653 . i should close this as a duplicate to that.
Comment by Jorge Ortega (stargeizer) - Monday, 19 April 2010, 22:54 GMT
You can close this as "fixed" since the original problem was solved (access to shares), what is happening now is just effect from another bug, this time in samba... well... an error triggered by 2 bugs at the same time... one in samba other in gnome...
Comment by Ionut Biru (wonder) - Monday, 31 May 2010, 12:03 GMT
samba 3.5.3 hit repos. the issue is still there?
Comment by Brian Johnson (alienvenom) - Monday, 31 May 2010, 16:10 GMT
Fixed for me in 3.5.3.

Loading...