[Pkg-samba-maint] Bug#458020: samba: nmbd panic at 06:25 (when cron.daily is run)

Steve Langasek vorlon at debian.org
Thu Jan 3 00:46:38 UTC 2008


On Thu, Jan 03, 2008 at 12:00:00AM +0100, Martin Leben wrote:

> Steve Langasek wrote:
>> Please forward us the contents of your smb.conf.

> See below. (Stripped empty lines and comments.)
> "interfaces = 127.0.0.0/8 lo", because samba is only used through an SSH
> tunnel.

Erm, in this case there's no reason for nmbd to be running on your system at
all and I'm not sure why it ever *started* successfully in the first place.

nmbd will refuse to run when there are no broadcast interfaces present on
the system, and lo is obviously not a broadcast interface.

>> We should find a
>> way for nmbd to shut down cleanly in that instance, and perhaps hook into
>> /etc/network/if-up.d to restart it as needed, but we should first confirm
>> that there isn't a misconfiguration in your particular smb.conf.

> Yes, that seems reasonable. But I still can't understand why lo is down in 
> the first place, if your assumption is correct.

It seems not; there have been various bug reports in the past of users
having nmbd problems because of their interfaces not being continuously up,
but with your settings this isn't the problem.

> $ egrep -v "^(#|;|$)" /etc/samba/smb.conf
> [global]
>    workgroup = smsbible
>    server string = %h server
>    dns proxy = no
> interfaces = 127.0.0.0/8 lo
> bind interfaces only = true

FWIW, listing both 127.0.0.0/8 and lo should be redundant; you should be
able to just list 'interfaces = lo' and get the same results.

- which results, as mentioned, include nmbd not working right.  So given
that you don't have a wins server specified, which would be the only other
eason to have nmbd on, I'd suggest setting 'disable netbios = yes' in your
smb.conf as a workaround that will stop nmbd from running, sparing you from
any further mails.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org





More information about the Pkg-samba-maint mailing list