[intrepid]: nmbd fails to start

Bug #233853 reported by StefanPotyra
4
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: samba

samba-common: 3.0.28a-1ubuntu4

from log.nmbd
[2008/05/21 22:04:25, 0] nmbd/nmbd.c:main(711)
  Netbios nameserver version 3.0.28a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2008
[2008/05/21 22:04:25, 0] nmbd/nmbd_subnetdb.c:create_subnets(245)
  create_subnets: unable to create any subnet from given interfaces. nmbd is terminating
[2008/05/21 22:04:25, 0] nmbd/nmbd.c:main(785)
  ERROR: Failed when creating subnet lists. Exiting.

I assume, that the reason is somewhere in the maintainer scripts, which "must otherwise be good citizens"[1], but obviously are not ;).

/etc/samba/smb.ucf-dist last changed on 2008-04-05 14:32, which matches dpkg.log when samba-common was upgraded (from 3.0.28a-1ubuntu3).

attached: diff between smb.ucf-dist and smb.conf (I might have called a dpkg-reconfigre samba-common / or samba in between, not too sure if I backed up smb.conf before or afterwards).

anything else you need?

P.S.: In case it should matter for maintainer scripts/default config: I'm briding eth0 and eth1 to br0.

[1]: you surely know where this quote is from. I somehow never noticed this sentence before, but like it *g*.

Cheers,
    Stefan.

Revision history for this message
StefanPotyra (sistpoty) wrote :
Revision history for this message
Steve Langasek (vorlon) wrote :

I don't see any way that this is a question of incorrect maintainer script handling. This diff:

@@ -49,7 +49,8 @@
 # The specific set of interfaces / networks to bind to
 # This can be either the interface name or an IP address/netmask;
 # interface names are normally preferred
-; interfaces = 127.0.0.0/8 eth0
+# interfaces = 127.0.0.0/8 eth0
+ interfaces = 127.0.0.0/8

 # Only bind to the named interfaces and/or networks; you must use the
 # 'interfaces' option above to use this.

cannot be a result of the maintainer script changing anything, you must have already had this 'interfaces' line manually set in smb.conf.

And therefore this is a configuration error, because it is not meaningful to run nmbd on non-broadcast interfaces, and you haven't listed any other interfaces that are broadcast interfaces on your 'interfaces' line.

Changed in samba:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.