[Bug 180493] Re: nmbd shuts down when network disconnected

Troy C troxor at gmail.com
Tue Jun 17 03:50:28 BST 2008


Using the PPA version above, starting samba without an explicit
'interfaces' line Instead,

[2008/06/16 21:30:04, 0] nmbd/nmbd.c:main(721)
  Netbios nameserver version 3.0.28a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2008
[2008/06/16 21:30:04, 0] nmbd/nmbd_subnetdb.c:create_subnets(190)
  create_subnets: No local interfaces !
[2008/06/16 21:30:04, 0] nmbd/nmbd_subnetdb.c:create_subnets(191)
  create_subnets: Waiting for an interface to appear ...
---brought interface up here---
[2008/06/16 21:36:35, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
  *****
  
  Samba name server RAVANA is now a local master browser for workgroup MICRIPOFFT on subnet 10.1.0.12
  
  *****

Specifying an unconfigured interface on the 'interfaces = ' line, nmbd just polls every 5 seconds.
Changing 'interfaces = ' to a configured (but downed) interface, then bringing it up yields nice output, though a little delayed :)

[2008/06/16 21:40:54, 0] nmbd/nmbd.c:main(721)
  Netbios nameserver version 3.0.28a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2008
[2008/06/16 21:40:54, 0] lib/interface.c:load_interfaces(229)
  WARNING: no network interfaces found
[2008/06/16 21:40:54, 0] nmbd/nmbd_subnetdb.c:create_subnets(190)
  create_subnets: No local interfaces !
[2008/06/16 21:40:54, 0] nmbd/nmbd_subnetdb.c:create_subnets(191)
  create_subnets: Waiting for an interface to appear ...
[2008/06/16 21:40:59, 0] lib/interface.c:load_interfaces(229)
  WARNING: no network interfaces found
...snip....
[2008/06/16 21:41:24, 0] lib/interface.c:load_interfaces(229)
  WARNING: no network interfaces found
---brought up interface here---
[2008/06/16 21:47:14, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
  *****
  
  Samba name server RAVANA is now a local master browser for workgroup MICRIPOFFT on subnet 10.1.0.12
  
  *****

In all cases, nmbd never shut down!

-- 
nmbd shuts down when network disconnected
https://bugs.launchpad.net/bugs/180493
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