[Bug 479614] Re: net usershare info takes too long

Chow Loong Jin hyperair at ubuntu.com
Thu Nov 12 15:42:45 GMT 2009


On Thursday 12,November,2009 10:56 PM, falstaff wrote:
> I found out what was wrong:
>
> I copied the smb.conf from my old setup, where I used KVM and had
> several vnet's. This line in smb.conf allowed me to share files only
> with my virtual machines:
>
>     interfaces = 127.0.0.0/8 vnet0 vnet1 vnet2
>
> I did not setup kvm that way again, therefor I had no vnet0-2.
> Whireshark showed me that the net command (and I suppose the samba
> daemon did the same) did DNS requests asking for the IP of this non
> existent devices (IN A requests for vnet0, vnet1 and vnet2, is this a
> volitional behaviour?). I removed those non existent devices and the bug
> is gone now. But anyway, shouldnt call nautilus-share such programms
> asynchronious then?
>
> Sorry, and thanks for your work!
>
Yes, I suppose it should, but 'net usershare info' should *really* finish fast. 
I mean, there really isn't any reason 'net usershare info' should be looking 
anywhere but the usershares directory, which is local. Even if vnet[0-2] existed 
and could be resolved, 'net usershare info' does not use that information in any 
way unless I'm mistaken.

-- 
Kind regards,
Chow Loong Jin (GPG: 0x8F02A411)
Ubuntu Contributing Developer

-- 
net usershare info takes too long (was: Nautilus hangs from time to time)
https://bugs.launchpad.net/bugs/479614
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list