enterprise-support team mailing list archive
-
enterprise-support team
-
Mailing list archive
-
Message #00317
[Bug 836849] Re: Samba starts before static IPs set in network manager
Okay, let me see if i can touch on all of your points here.
I do not have IFACE=eth0 in the "start on' clause of /etc/init/smb.conf
However, i do have the following line in /etc/samba/smb.conf, and it does not 'just work' as you indicate it should, unfortunately. :(
interfaces = eth0
Note that this bug is the same as https://bugs.launchpad.net/ubuntu/+source/samba/+bug/374589 essentially.
Attached are single startup /var/log/samba/log.smbd, /var/log/samba/log.nmbd, and /etc/samba/smb.conf, as well as a successful startup of smbd after the system is up and running.
Note the following in log.smbd:
[2011/09/03 01:45:29, 2] lib/interface.c:389(interpret_interface)
interpret_interface: Can't find address for eth0
[2011/09/03 01:45:29, 0] lib/interface.c:550(load_interfaces)
WARNING: no network interfaces found
[2011/09/03 01:45:29, 0] smbd/server.c:1115(main)
standard input is not a socket, assuming -D option
[2011/09/03 01:45:29, 0] smbd/server.c:616(open_sockets_smbd)
open_sockets_smbd: No sockets available to bind to.
[2011/09/03 01:45:29, 0] smbd/server.c:837(exit_server_common)
===============================================================
[2011/09/03 01:45:29, 0] smbd/server.c:839(exit_server_common)
Abnormal server exit: open_sockets_smbd() failed
[2011/09/03 01:45:29, 0] smbd/server.c:840(exit_server_common)
===============================================================
[2011/09/03 01:45:29, 0] lib/util.c:1584(log_stack_trace)
BACKTRACE: 6 stack frames:
#0 smbd(log_stack_trace+0x1a) [0x7fd9fbc2695a]
#1 smbd(+0x5a9f90) [0x7fd9fbeb5f90]
#2 smbd(+0x5aa161) [0x7fd9fbeb6161]
#3 smbd(main+0x90d) [0x7fd9fbeb6ebd]
#4 /lib/libc.so.6(__libc_start_main+0xfd) [0x7fd9f83b3c4d]
#5 smbd(+0xc0a49) [0x7fd9fb9cca49]
[2011/09/03 01:45:29, 0] lib/fault.c:326(dump_core)
dumping core in /var/log/samba/cores/smbd
** Attachment added: "log.smbd showing core dump when it cannot bind to a socket because no ethernet device found"
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/836849/+attachment/2347554/+files/log.smbd
** Changed in: samba (Ubuntu)
Status: Invalid => New
--
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to samba in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/836849
Title:
Samba starts before static IPs set in network manager
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/836849/+subscriptions