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

Martin Leben ml060223 at leben.nu
Wed Jan 2 23:00:00 UTC 2008


Hi Steve!

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.

> It appears that, at the time nmbd is being reloaded (as is necessary for log
> rotation), your system has no active network interfaces.

That sounds strange... Can't understand why the "lo" interface should go down 
during "cron.daily".

> 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.


$ 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
    log file = /var/log/samba/log.%m
    max log size = 1000
    syslog = 0
    panic action = /usr/share/samba/panic-action %d
security = user
    encrypt passwords = true
    passdb backend = tdbsam
    obey pam restrictions = yes
    invalid users = root
    passwd program = /usr/bin/passwd %u
    passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
*Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
    socket options = TCP_NODELAY
[homes]
    comment = Home Directories
browseable = yes
writeable = yes
    create mask = 0755
    directory mask = 0755
    valid users = %S
[printers]
    comment = All Printers
    browseable = no
    path = /var/spool/samba
    printable = yes
    public = no
    writable = no
    create mode = 0700
[print$]
    comment = Printer Drivers
    path = /var/lib/samba/printers
    browseable = yes
    read only = yes
    guest ok = no

Thanks!
/Martin Leben





More information about the Pkg-samba-maint mailing list