[Bug 374589] Re: Samba fails to start at boot when not connected to network (and specific interfaces are configured)
It appears this and https://bugs.launchpad.net/ubuntu/+source/samba/+bug/836849 are one in the same, although the bug listed here is because the static ip assignments are done through networkmanager... -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/374589 Title: Samba fails to start at boot when not connected to network (and specific interfaces are configured) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/374589/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 374589] Re: Samba fails to start at boot when not connected to network (and specific interfaces are configured)
I've adapted and tried the workaround developed by David Harel (the initial bug reporter) but that does not work with interfaces that are beyond NetworkManager's jurisdiction (e.g. vboxnet0). So we're left with two equally undesirable options - remove any interface binding condition (i.e. poor security). - develop a job polling for any interface status change with the task of systematically restarting smbd. when you bind on vboxnet0, wlan0 and eth0 interface status changes can be a pretty frequent event. So +1 for the wishlist. Why could smbd not simply listen (as in listener design pattern) to net interface changes and bind/unbind on any interface configured in smb.conf an when-available basis ? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/374589 Title: Samba fails to start at boot when not connected to network (and specific interfaces are configured) -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 374589] Re: Samba fails to start at boot when not connected to network (and specific interfaces are configured)
same for me but samba exits with a core dump, so i think its not wishlist, its a bug I configured in smb.conf interfaces = vmnet8 vmnet1 bind interfaces only = yes so that samba is only accessable by the vmware guest. BTW: In /etc/rc2.d vmware (S19) starts prior to samba (S20), thats the next strange thing grep -ri smb /var/log/daemon.log Apr 26 14:10:07 fringe init: smbd main process (1222) killed by ABRT signal Apr 26 14:10:07 fringe init: smbd main process ended, respawning Apr 26 14:10:07 fringe smbd[1233]: [2010/04/26 14:10:07, 0] printing/print_cups.c:103(cups_connect) Apr 26 14:10:07 fringe smbd[1233]: Unable to connect to CUPS server localhost:631 - Connection refused Apr 26 14:10:07 fringe smbd[1234]: [2010/04/26 14:10:07, 0] printing/print_cups.c:103(cups_connect) Apr 26 14:10:07 fringe smbd[1234]: Unable to connect to CUPS server localhost:631 - Connection refused Apr 26 14:10:07 fringe smbd[1232]: [2010/04/26 14:10:07, 0] lib/interface.c:550(load_interfaces) Apr 26 14:10:07 fringe smbd[1232]: WARNING: no network interfaces found Apr 26 14:10:07 fringe smbd[1232]: [2010/04/26 14:10:07, 0] smbd/server.c:1115(main) Apr 26 14:10:07 fringe smbd[1232]: standard input is not a socket, assuming -D option Apr 26 14:10:07 fringe smbd[1232]: [2010/04/26 14:10:07, 0] smbd/server.c:616(open_sockets_smbd) Apr 26 14:10:07 fringe smbd[1232]: open_sockets_smbd: No sockets available to bind to. Apr 26 14:10:07 fringe smbd[1232]: [2010/04/26 14:10:07, 0] smbd/server.c:837(exit_server_common) Apr 26 14:10:07 fringe smbd[1232]: === Apr 26 14:10:07 fringe smbd[1232]: [2010/04/26 14:10:07, 0] smbd/server.c:839(exit_server_common) Apr 26 14:10:07 fringe smbd[1232]: Abnormal server exit: open_sockets_smbd() failed Apr 26 14:10:07 fringe smbd[1232]: [2010/04/26 14:10:07, 0] smbd/server.c:840(exit_server_common) Apr 26 14:10:07 fringe smbd[1232]: === Apr 26 14:10:07 fringe smbd[1232]: [2010/04/26 14:10:07, 0] lib/util.c:1584(log_stack_trace) Apr 26 14:10:07 fringe smbd[1232]: BACKTRACE: 6 stack frames: Apr 26 14:10:07 fringe smbd[1232]:#0 smbd(log_stack_trace+0x1a) [0x7f7c7d2de7aa] Apr 26 14:10:07 fringe smbd[1232]:#1 smbd(+0x5a9cc0) [0x7f7c7d56dcc0] Apr 26 14:10:07 fringe smbd[1232]:#2 smbd(+0x5a9e91) [0x7f7c7d56de91] Apr 26 14:10:07 fringe smbd[1232]:#3 smbd(main+0x90d) [0x7f7c7d56ebed] Apr 26 14:10:07 fringe smbd[1232]:#4 /lib/libc.so.6(__libc_start_main+0xfd) [0x7f7c79a6cc4d] Apr 26 14:10:07 fringe smbd[1232]:#5 smbd(+0xc0a49) [0x7f7c7d084a49] Apr 26 14:10:07 fringe smbd[1232]: [2010/04/26 14:10:07, 0] lib/fault.c:326(dump_core) Apr 26 14:10:07 fringe smbd[1232]: dumping core in /var/log/samba/cores/smbd Apr 26 14:10:07 fringe smbd[1232]: Apr 26 14:10:07 fringe init: smbd main process (1232) killed by ABRT signal Apr 26 14:10:07 fringe init: smbd main process ended, respawning Apr 26 14:10:07 fringe smbd[1240]: [2010/04/26 14:10:07, 0] printing/print_cups.c:103(cups_connect) Apr 26 14:10:07 fringe smbd[1240]: Unable to connect to CUPS server localhost:631 - Connection refused Apr 26 14:10:07 fringe smbd[1241]: [2010/04/26 14:10:07, 0] printing/print_cups.c:103(cups_connect) Apr 26 14:10:07 fringe smbd[1241]: Unable to connect to CUPS server localhost:631 - Connection refused Apr 26 14:10:07 fringe smbd[1239]: [2010/04/26 14:10:07, 0] lib/interface.c:550(load_interfaces) Apr 26 14:10:07 fringe smbd[1239]: WARNING: no network interfaces found Apr 26 14:10:07 fringe smbd[1239]: [2010/04/26 14:10:07, 0] smbd/server.c:1115(main) Apr 26 14:10:07 fringe smbd[1239]: standard input is not a socket, assuming -D option Apr 26 14:10:07 fringe smbd[1239]: [2010/04/26 14:10:07, 0] smbd/server.c:616(open_sockets_smbd) Apr 26 14:10:07 fringe smbd[1239]: open_sockets_smbd: No sockets available to bind to. Apr 26 14:10:07 fringe smbd[1239]: [2010/04/26 14:10:07, 0] smbd/server.c:837(exit_server_common) Apr 26 14:10:07 fringe smbd[1239]: === Apr 26 14:10:07 fringe smbd[1239]: [2010/04/26 14:10:07, 0] smbd/server.c:839(exit_server_common) Apr 26 14:10:07 fringe smbd[1239]: Abnormal server exit: open_sockets_smbd() failed Apr 26 14:10:07 fringe smbd[1239]: [2010/04/26 14:10:07, 0] smbd/server.c:840(exit_server_common) Apr 26 14:10:07 fringe smbd[1239]: === Apr 26 14:10:07 fringe smbd[1239]: [2010/04/26 14:10:07, 0] lib/util.c:1584(log_stack_trace) Apr 26 14:10:07 fringe smbd[1239]: BACKTRACE: 6 stack frames: Apr 26 14:10:07 fringe smbd[1239]:#0 smbd(log_stack_trace+0x1a) [0x7f6684ba67aa] Apr 26 14:10:07 fringe smbd[1239]:#1 smbd(+0x5a9cc0) [0x7f6684e35cc0] Apr 26 14:10:07 fringe smbd[1239]:#2 smbd(+0x5a9e91) [0x7f6684e35e91] Apr 26 14:10:07 fringe smbd[1239]:#3
[Bug 374589] Re: Samba fails to start at boot when not connected to network (and specific interfaces are configured)
** Changed in: samba (Ubuntu) Status: Confirmed = Triaged -- Samba fails to start at boot when not connected to network (and specific interfaces are configured) https://bugs.launchpad.net/bugs/374589 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 374589] Re: Samba fails to start at boot when not connected to network (and specific interfaces are configured)
This has been set to wishlist since the reporter explicitely adds interfaces = eth0 eth1 to his smb.conf, so in a way he tells samba that it should not start if eth0/eth1 isn't up. My understanding (and my testing) showed that without this line the reporter added, samba is starting alright. Hence the wishlist : I want samba to start even if I specifically ask it to start on a -- Samba fails to start at boot when not connected to network (and specific interfaces are configured) https://bugs.launchpad.net/bugs/374589 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 374589] Re: Samba fails to start at boot when not connected to network (and specific interfaces are configured)
non-existing interface only -- Samba fails to start at boot when not connected to network (and specific interfaces are configured) https://bugs.launchpad.net/bugs/374589 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 374589] Re: Samba fails to start at boot when not connected to network (and specific interfaces are configured)
Confirmed, this is a problem for me too. Unexpected failure of a system service in supported configurations is a bug, not a feature request...so perhaps we should change this back to being a bug not a wishlist item? -- Samba fails to start at boot when not connected to network (and specific interfaces are configured) https://bugs.launchpad.net/bugs/374589 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 374589] Re: Samba fails to start at boot when not connected to network (and specific interfaces are configured)
I have similar problem, but samba stops boot process and I cannot boot to system, I move samba folder in etc and problem does not occur, please fix it dist: karmic -- Samba fails to start at boot when not connected to network (and specific interfaces are configured) https://bugs.launchpad.net/bugs/374589 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs