Bug 554236 - nautilus network: finds non existent LAN but none other.
Summary: nautilus network: finds non existent LAN but none other.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: nautilus
Version: 12
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Tomáš Bžatek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-11 02:51 UTC by Bill Case
Modified: 2015-03-03 22:43 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-12-04 00:34:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bill Case 2010-01-11 02:51:09 UTC
Description of problem:
On gnome panel menu: Places => Network => a nautilus window with "Windows Network" =>
warning "Unable to mount location Failed to retrieve share list from server"

Version-Release number of selected component (if applicable):
nautilus 2.28.4

How reproducible:
Every time

Steps to Reproduce:
1. With either launcher or command line.
2.
3.
  
Actual results:
Places => Network => a nautilus window with "Windows Network" =>
warning "Unable to mount location Failed to retrieve share list from server"

Expected results:
Show the existing LAN that exists using two Fedora 12 OS machines.

Additional info:

Hi;

A long dead (WindowsXP + Linux) network keeps showing up.

The  ']$ nautilus --no-desktop network:'
command produces a nautilus window titled 'Network' showing an icon for
'Windows Network'  When clicked on, 'Windows Network' warns "Unable to
mount location Failed to retrieve share list from server".  Which isn't
surprising since WindowsXp hasn't been on another machine in my LAN for
a year.  I do have WindowsXP as a dual boot on this one machine.

Nautilus wouldn't be counting the single box, dual boot Fedora 12 &
WindowsXP as a network -- would it?

Or is there a file left over from when there was WindowsXP on one of my
other machines?  If so, what should I look for and remove?  What
configuration file would the old 'XP be in?  I have searched for such a
file using 'locate' and the 'search files' applet and recognized nothing

']$ nautilus --no-desktop network: ' is supposed to show me the LAN that
does exist, but the current LAN never shows.

The following does work:
1) ssh
2) putty (for linux)
3) vnc
4) Places => connect to server
5) Places => Bookmarks => remote host:

I have tried to double check what is supposed to happen on the Fedora user's mailing list and the gnome list but have received no reply.  The help manual is not explicit and googling only seems to show several related Nautilus/network problems about connecting to Windows.  Nothing about getting rid of a non-existent Windows network connection.

Comment 1 Tomáš Bžatek 2010-01-11 13:29:53 UTC
What about your firewall? Have you turned it off or at least made a hole for SMB broadcasts? What does `smbtree` print? The ghost machines is a design limitation of SMB protocol, probably some machine in your network is still broadcasting it.

Comment 2 Bill Case 2010-01-11 15:09:38 UTC
I have opened my firewall to samba just to see if this makes a difference.  It doesn't.

I tried:

]# smbtree
Enter bill's password: 
[root@CASE bill]# 

In other words, I got nada, nothing, zilch.

Right now I have only one other machine connected to my LAN.  Machine #1 (the one I use) is a dual boot machine with WindowsXP and Fedora 12.  Machine #2 has been reformatted to remove WindowsXP and now only has Fedora 12 partitions.  Neither Machine #1 nor Machine #2 have Samba installed.

I double checked both machines with:

]$ rpm -qi samba
package samba is not installed 

I then looked for all samba files

]$ locate samba
/etc/samba
/etc/samba/lmhosts
/etc/samba/smb.conf
/etc/sysconfig/samba
...
/usr/lib/python2.6/site-packages/sos/plugins/samba*
...
/usr/lib64/samba/*
...
the rest (...) of the samba files 'locate' found are docs and graphics
-----------------------------------


/etc/samba/lmhosts only contains the the loopback: '127.0.0.1 localhost'

/etc/samba/smb.conf has a few open lines mainly about remote printers; maybe some should be commented out.  ????

/etc/sysconfig/samba contains:

# Options to smbd
SMBDOPTIONS="-D"
# Options to nmbd
NMBDOPTIONS="-D"
# Options for winbindd
WINBINDOPTIONS="" 

which is all Greek to me.

If there is a "ghost" it has to be in these files somewhere I would think.

Comment 3 Tomáš Bžatek 2010-01-12 10:50:46 UTC
You might try wiping your /var/lib/samba directory and/or rebooting both machines at the same time.

Can you also try looking at `avahi-discover` results?

Comment 4 Bill Case 2010-01-14 04:42:10 UTC
I wiped out /var/lib/samba directory from the command line with rm.  Now I get "no rout to host"  with ssh using both the nautilus places ssh or a command line ssh.  I always had the ssh connection before.

I have not used avahi-discover before so I am not certain what to expect, but nonetheless the results seem strange to me.

]$ avahi-discover
A new main_window has been created
Browsing domain 'local' on -1.-1 ...
Browsing domain 'zeroconf.org' on -1.-1 ...
Browsing domain '0pointer.de' on -1.-1 ...
Browsing for services of type '_http-rss._tcp' in domain '0pointer.de' on -1.-1 ...
Browsing for services of type '_ssh._tcp' in domain '0pointer.de' on -1.-1 ...
Browsing for services of type '_http._tcp' in domain '0pointer.de' on -1.-1 ...
Found service 'PulseAudio' of type '' in domain '' on -1.-1.
Found service 'Lennart's' of type '' in domain '' on -1.-1.
Found service 'Avahi' of type '' in domain '' on -1.-1.
Found service 'Lennart's Blog' of type '_http-rss._tcp' in domain '0pointer.de' on -1.-1.
Found service 'dt115' of type '_ssh._tcp' in domain '0pointer.de' on -1.-1.
Found service 'tango' of type '_ssh._tcp' in domain '0pointer.de' on -1.-1.
Found service 'ring2' of type '_ssh._tcp' in domain '0pointer.de' on -1.-1
------

I have made no changes whatsoever on the remote host and I have double checked the local host setup, I reentered the data just to be sure.  I continue to now get "no rout to host".

Comment 5 Bill Case 2010-01-14 04:50:09 UTC
And, I should confirm, the Places => 'Windows Network' icon remains.  Clicking on it still warns "Unable to mount location  Failed to retrieve share list from server".

s/I wiped out /var/lib/samba directory from the command line with rm./I wiped out the samba directory from  /var/lib/ with the command 'rm'./

Comment 6 Tomáš Bžatek 2010-01-14 12:42:36 UTC
(In reply to comment #4)
> I wiped out /var/lib/samba directory from the command line with rm.  Now I get
> "no rout to host"  with ssh using both the nautilus places ssh or a command
> line ssh.  I always had the ssh connection before.
Ok, so it looks like you have more problems in your network... First you should sort out name resolving (either hardcode IPs in /etc/hosts or install some dns server such as bind, dnsmasq, ...), looks like you've been using some sort of name resolving through winbind or samba in general.

For the time being, you can use IP addresses directly with your ssh client.

> Browsing domain 'local' on -1.-1 ...
Ok, here you should see your locally broadcasted services.
Plus, in other domain, your other computers in the network.

(In reply to comment #5)
> ]$ rpm -qi samba
> package samba is not installed 
Also, you should install the samba package (on both machines) which contains daemons providing you with windows filesharing services (if you want them).

SFTP transfer services are in the openssh-server package otherwise.

Comment 7 Bill Case 2010-01-14 18:09:24 UTC
In reply to comment #6
(In reply to comment #4)

"Ok, so it looks like you have more problems in your network... First you should
sort out name resolving (either hardcode IPs in /etc/hosts or install some dns
server such as bind, dnsmasq, ...), looks like you've been using some sort of
name resolving through winbind or samba in general."

Maybe.  My remote machine has always had 192.168.1.7 for its address.  With the removal of /var/lib/samba directory it's address became 192.168.1.2 .   How did that happen?
ssh works fine again once I use the new address.
dnsmasq has always been installed.

'Windows Network' icon remains and continues to warn 'unable to mount location' and 'Failed to retrieve share list from server' on both machines.

Samba is not installed on either machine nor do I want it.  However Places => Connect to Server always returns a 'Windows Network'.  I think this is a bug.

avahi-discover continues to report:

]$ avahi-discover
A new main_window has been created
Browsing domain 'local' on -1.-1 ...
Browsing domain 'zeroconf.org' on -1.-1 ...
Browsing domain '0pointer.de' on -1.-1 ...
Browsing for services of type '_pdl-datastream._tcp' in domain 'zeroconf.org' on -1.-1 ...
Browsing for services of type '_ipp._tcp' in domain 'zeroconf.org' on -1.-1 ...
Browsing for services of type '_http._tcp' in domain 'zeroconf.org' on -1.-1 ...
Browsing for services of type '_ftp._tcp' in domain 'zeroconf.org' on -1.-1 ...
Browsing for services of type '_afpovertcp._tcp' in domain 'zeroconf.org' on -1.-1 ...
Browsing for services of type '_ssh._tcp' in domain 'zeroconf.org' on -1.-1 ...
Browsing for services of type '_printer._tcp' in domain 'zeroconf.org' on -1.-1 ...
Found service '3rd. Floor Copy Room' of type '_pdl-datastream._tcp' in domain 'zeroconf.org' on -1.-1.
Found service 'Engineering' of type '_pdl-datastream._tcp' in domain 'zeroconf.org' on -1.-1.
Found service 'Marketing' of type '_pdl-datastream._tcp' in domain 'zeroconf.org' on -1.-1.
Found service 'Sales' of type '_pdl-datastream._tcp' in domain 'zeroconf.org' on -1.-1.
Found service '3rd. Floor Copy Room' of type '_ipp._tcp' in domain 'zeroconf.org' on -1.-1.
Found service 'Engineering' of type '_ipp._tcp' in domain 'zeroconf.org' on -1.-1.
Found service 'Marketing' of type '_ipp._tcp' in domain 'zeroconf.org' on -1.-1.
Found service 'Sales' of type '_ipp._tcp' in domain 'zeroconf.org' on -1.-1.
Found service ' * Wired, Technology, Culture, Business, Politics' of type '_http._tcp' in domain 'zeroconf.org' on -1.-1.
Found service ' * BBC, World news' of type '_http._tcp' in domain 'zeroconf.org' on -1.-1.
Found service ' * CNN, World news' of type '_http._tcp' in domain 'zeroconf.org' on -1.-1.
Found service ' * Yahoo, maps, weather, and stock quotes' of type '_http._tcp' in domain 'zeroconf.org' on -1.-1.
Found service ' * eBay, online auctions' of type '_http._tcp' in domain 'zeroconf.org' on -1.-1.
Found service ' * Apple, makers of the iPod' of type '_http._tcp' in domain 'zeroconf.org' on -1.-1.
Found service ' * Google, searching the Web' of type '_http._tcp' in domain 'zeroconf.org' on -1.-1.
Found service ' * Amazon.com, on-line shopping' of type '_http._tcp' in domain 'zeroconf.org' on -1.-1.
Found service ' * DNS Service Discovery' of type '_http._tcp' in domain 'zeroconf.org' on -1.-1.
Found service ' * Multicast DNS' of type '_http._tcp' in domain 'zeroconf.org' on -1.-1.
Found service ' * Zeroconf' of type '_http._tcp' in domain 'zeroconf.org' on -1.-1.
Found service 'Restricted, Registered Users Only' of type '_ftp._tcp' in domain 'zeroconf.org' on -1.-1.
Found service 'Microsoft Developer Files' of type '_ftp._tcp' in domain 'zeroconf.org' on -1.-1.
Found service 'Apple QuickTime Files' of type '_ftp._tcp' in domain 'zeroconf.org' on -1.-1.
Found service 'Linux Server' of type '_afpovertcp._tcp' in domain 'zeroconf.org' on -1.-1.
Found service 'Shared Files' of type '_afpovertcp._tcp' in domain 'zeroconf.org' on -1.-1.
Found service 'Stuart’s Cube' of type '_afpovertcp._tcp' in domain 'zeroconf.org' on -1.-1.
Found service 'Rose' of type '_ssh._tcp' in domain 'zeroconf.org' on -1.-1.
Found service 'Marketing' of type '_printer._tcp' in domain 'zeroconf.org' on -1.-1.
Found service 'Sales' of type '_printer._tcp' in domain 'zeroconf.org' on -1.-1.
Found service '3rd. Floor Copy Room' of type '_printer._tcp' in domain 'zeroconf.org' on -1.-1.
Found service 'Engineering' of type '_printer._tcp' in domain 'zeroconf.org' on -1.-1.
Browsing for services of type '_http._tcp' in domain '0pointer.de' on -1.-1 ...
Browsing for services of type '_http-rss._tcp' in domain '0pointer.de' on -1.-1 ...
Browsing for services of type '_ssh._tcp' in domain '0pointer.de' on -1.-1 ...
Found service 'Lennart's Blog' of type '_http-rss._tcp' in domain '0pointer.de' on -1.-1.
Found service 'Avahi Web Site' of type '_http._tcp' in domain '0pointer.de' on -1.-1.
Found service 'Lennart's Blog' of type '_http._tcp' in domain '0pointer.de' on -1.-1.
Found service 'Lennart's Photos' of type '_http._tcp' in domain '0pointer.de' on -1.-1.
Found service 'Lennart's Homepage' of type '_http._tcp' in domain '0pointer.de' on -1.-1.
Found service 'PulseAudio Web Site' of type '_http._tcp' in domain '0pointer.de' on -1.-1.
Found service 'tango' of type '_ssh._tcp' in domain '0pointer.de' on -1.-1.
Found service 'sds13-2' of type '_ssh._tcp' in domain '0pointer.de' on -1.-1.
Found service 'dt115' of type '_ssh._tcp' in domain '0pointer.de' on -1.-1.
Found service 'sds13' of type '_ssh._tcp' in domain '0pointer.de' on -1.-1.

Comment 8 Bill Case 2010-01-14 21:47:32 UTC
gfs just crashed while try to umount sftp on gerald.  I filed an abrt report with back trace and dump at https://bugzilla.redhat.com/show_bug.cgi?id=555598

Comment 9 Bill Case 2010-01-18 16:47:11 UTC
From a thread I started on the Fedora users list entitiled
"
Re: Who do I file this bug with ?!?
I write this last response to this thread as a defence of my actions and
as a warning to others.

On the Places menu it says 'Network' and the tool tip says "Browse
bookmarked and local network options".  When I click on it, it gives me
neither my bookmarked sftp remote machines nor my local network, but
instead shows me a network I do not have.  Nowhere can I find a
reference that this icon is for existing or potentially new Microsoft
Networks or even samba.  I genuinely expected it to show me my existing
Linux LAN with perhaps some properties of that network such as addresses
or aliases of the connected remote machines and another means of
connecting to a remote machine similar to the 'Connect to Server'
launcher just below it.

Since I had been working (albeit just started) to set up vnc I thought
perhaps there was an error.  Before I started screwing around, 6 days
ago I posted to this list asking/saying "Can't get rid of WindowsXP
network on Fedora !?!" and received no response.  So I went ahead seeing
what I could do about it.

I am quite willing to leave it alone, if that is your advice.  As I said
it just started out being a minor irritant.  Now I have to figure out
how to get /var/lib/samba back.  I suppose I should remove all remnants
of samba then re-install them if I can."

Further more, the 'Network' icon is created after having clicked on 'Connect to server ...'  I assure you that there was no Samba server on either of my machines -- so why was a fictious network icon created?

Isn't that what the 'Connect to server' popup is for?  That dialog gives the user the choice of types of networks and thus the ability to decline a Windows share.

It seems to me that this Place icon should not show a network unless one has been created.  Or at the least, produce a dialog which allows you to decline the creation of a Windows Network.  What would be useful is a gui under Places that graphically shows a Local Area Network (and others) and a list of all of the nodes connected to it.

Comment 10 Bug Zapper 2010-11-04 01:17:31 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 11 Bug Zapper 2010-12-04 00:34:28 UTC
Fedora 12 changed to end-of-life (EOL) status on 2010-12-02. Fedora 12 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.