[intrepid]: nmbd fails to start
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.
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_
create_subnets: unable to create any subnet from given interfaces. nmbd is terminating
[2008/05/21 22:04:25, 0] nmbd/nmbd.
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/
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.
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.