[Bug 771305] Re: smbd does not start on first boot with 20110426
I am using Natty with this update (2:3.5.8~dfsg-1ubuntu2.1) but still have to start samba manually because it is starting before networkmanager starts and doing so fails. -- You received this bug notification because you are a member of Ubuntu Server Team, which is a bug assignee. https://bugs.launchpad.net/bugs/771305 Title: smbd does not start on first boot with 20110426 -- 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 771305] Re: smbd does not start on first boot with 20110426
I solved my problem. What made my situation different, I think, and caused my problem was the binding I made in /etc/samba/smb.conf under [global] to one of my interfaces. I did that as following: [global] bind interfaces only = yes interfaces = 192.168.123.123 I now changed the line with start-on in /etc/init/smbd.conf to the following start on (local-filesystems and net-device-up IFACE=eth0 and started udev-finish) Ssmdb now waits and it starts automatically when I boot my system and I don't need to start it manually anymore (finally) -- You received this bug notification because you are a member of Ubuntu Server Team, which is a bug assignee. https://bugs.launchpad.net/bugs/771305 Title: smbd does not start on first boot with 20110426 -- 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 771305] Re: smbd does not start on first boot with 20110426
TEST CASE 1. install samba via tasksel 2. reboot 3. pgrep smbd After reboot smbd should start, but does not with 2:3.5.8~dfsg-1ubuntu2. When testing packages in -proposed, upgrade then reboot and run pgrep. -- You received this bug notification because you are a member of Ubuntu Server Team, which is a bug assignee. https://bugs.launchpad.net/bugs/771305 Title: smbd does not start on first boot with 20110426 -- 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 771305] Re: smbd does not start on first boot with 20110426
Upgraded to 2:3.5.8~dfsg-1ubuntu2.1 in natty-proposed, and after several reboots, smbd always starts. Marking 'verification-done'. ** Tags added: verification-done ** Tags removed: verification-needed -- You received this bug notification because you are a member of Ubuntu Server Team, which is a bug assignee. https://bugs.launchpad.net/bugs/771305 Title: smbd does not start on first boot with 20110426 -- 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 771305] Re: smbd does not start on first boot with 20110426
This bug was fixed in the package samba - 2:3.5.8~dfsg-1ubuntu2.1 --- samba (2:3.5.8~dfsg-1ubuntu2.1) natty-proposed; urgency=low * debian/samba.smbd.upstart: Do not attempt to start smbd until network device is up, previously smbd was starting too early and often failing. (LP: #771305) -- Dave Walker (Daviey) davewal...@ubuntu.com Thu, 28 Apr 2011 10:45:32 +0100 ** Changed in: samba (Ubuntu Natty) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is a bug assignee. https://bugs.launchpad.net/bugs/771305 Title: smbd does not start on first boot with 20110426 -- 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 771305] Re: smbd does not start on first boot with 20110426
Copied to oneiric as well. ** Changed in: samba (Ubuntu Oneiric) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is a bug assignee. https://bugs.launchpad.net/bugs/771305 Title: smbd does not start on first boot with 20110426 -- 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 771305] Re: smbd does not start on first boot with 20110426
** Branch linked: lp:ubuntu/natty-proposed/samba -- You received this bug notification because you are a member of Ubuntu Server Team, which is a bug assignee. https://bugs.launchpad.net/bugs/771305 Title: smbd does not start on first boot with 20110426 -- 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 771305] Re: smbd does not start on first boot with 20110426
Accepted samba into natty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Changed in: samba (Ubuntu Natty) Status: Confirmed = Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Server Team, which is a bug assignee. https://bugs.launchpad.net/bugs/771305 Title: smbd does not start on first boot with 20110426 -- 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 771305] Re: smbd does not start on first boot with 20110426
I don't think IFACE!=lo is needed .. just net-device-up. It just needs *something*, and making it IFACE!=lo will mean it doesn't come up until the user has brought up wifi connections and such.. which may be a bit late if they want to test samba in a no-network situation. -- You received this bug notification because you are a member of Ubuntu Server Team, which is a bug assignee. https://bugs.launchpad.net/bugs/771305 Title: smbd does not start on first boot with 20110426 -- 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 771305] Re: smbd does not start on first boot with 20110426
** Attachment added: var_log_samba.tar.gz https://bugs.launchpad.net/bugs/771305/+attachment/2090036/+files/var_log_samba.tar.gz -- 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/771305 Title: smbd does not start on first boot with 20110426 -- 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 771305] Re: smbd does not start on first boot with 20110426
** Attachment added: syslog https://bugs.launchpad.net/ubuntu/+source/samba/+bug/771305/+attachment/2090037/+files/syslog ** Description changed: Binary package hint: samba Fresh install using natty/amd64 20110426 and choosing the samba task. After reboot smbd does not start. Attached is tarball of /var/log/samba - and /var/log/syslog. This happened with 20110425 too, but I only made a - comment in the iso tracker rather than a bug. + and /var/log/syslog. Same problem on each reboot. Samba starts + successfully after login with 'sudo stop smbd ; sudo start smbd'. + + This happened with 20110425 too, but I only made a comment in the iso + tracker rather than a bug thinking it was intermittent, but it isn't. ** Description changed: Binary package hint: samba - Fresh install using natty/amd64 20110426 and choosing the samba task. - After reboot smbd does not start. Attached is tarball of /var/log/samba - and /var/log/syslog. Same problem on each reboot. Samba starts - successfully after login with 'sudo stop smbd ; sudo start smbd'. + Fresh install using natty/amd64 20110426 and choosing the samba task + (http://iso.qa.ubuntu.com/qatracker/result/5709/186). After reboot smbd + does not start. Attached is tarball of /var/log/samba and + /var/log/syslog. Same problem on each reboot. Samba starts successfully + after login with 'sudo stop smbd ; sudo start smbd'. This happened with 20110425 too, but I only made a comment in the iso tracker rather than a bug thinking it was intermittent, but it isn't. -- 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/771305 Title: smbd does not start on first boot with 20110426 -- 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 771305] Re: smbd does not start on first boot with 20110426
** Tags added: iso-testing -- 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/771305 Title: smbd does not start on first boot with 20110426 -- 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 771305] Re: smbd does not start on first boot with 20110426
Hi Jamie - your syslog shows that Upstart attempted to restart smbd a number of times, but since smbd kept exiting in error, it eventually hit the upstart respawn limit at which point Upstart stopped attempting to start it. The problem suggests an issue either with the smbd binary or one of the files it reads (maybe an invalid /etc/samba/smb.conf?) -- 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/771305 Title: smbd does not start on first boot with 20110426 -- 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 771305] Re: smbd does not start on first boot with 20110426
I wonder if this is related to bug 750786 ** Changed in: samba (Ubuntu) Status: New = Confirmed ** Changed in: samba (Ubuntu) Importance: Undecided = Medium ** Changed in: samba (Ubuntu) Assignee: (unassigned) = Ubuntu Server Team (ubuntu-server) ** Also affects: samba (Ubuntu Natty) Importance: Medium Assignee: Ubuntu Server Team (ubuntu-server) Status: Confirmed ** Also affects: samba (Ubuntu Oneiric) Importance: Undecided Status: New ** Changed in: samba (Ubuntu Natty) Milestone: None = natty-updates ** Changed in: samba (Ubuntu Oneiric) Status: New = Confirmed ** Changed in: samba (Ubuntu Oneiric) Importance: Undecided = Medium ** Changed in: samba (Ubuntu Oneiric) Assignee: (unassigned) = Ubuntu Server Team (ubuntu-server) ** Also affects: ubuntu-release-notes Importance: Undecided Status: New -- 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/771305 Title: smbd does not start on first boot with 20110426 -- 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 771305] Re: smbd does not start on first boot with 20110426
Ubuntu Server 11.04 Release Note: After choosing the samba task during install, smbd will not start after reboot. Users can start samba after login by running: 'sudo stop smbd ; sudo start smbd'. -- You received this bug notification because you are a member of Ubuntu Server Team, which is a bug assignee. https://bugs.launchpad.net/bugs/771305 Title: smbd does not start on first boot with 20110426 -- 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 771305] Re: smbd does not start on first boot with 20110426
** Changed in: ubuntu-release-notes Status: New = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is a bug assignee. https://bugs.launchpad.net/bugs/771305 Title: smbd does not start on first boot with 20110426 -- 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 771305] Re: smbd does not start on first boot with 20110426
@James, This is a default install with no configuration. After reboot I can login and start smbd by hand manually with no problems (ie, without changing /etc/samba/smb.conf). These were the interesting lines in /var/log/samba/log.smbd: [2011/04/26 10:07:06, 0] smbd/server.c:1123(main) smbd version 3.5.8 started. Copyright Andrew Tridgell and the Samba Team 1992-2010 [2011/04/26 10:07:06.485135, 0] printing/print_cups.c:108(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2011/04/26 10:07:06.514425, 0] printing/print_cups.c:108(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable [2011/04/26 10:07:06.548629, 0] lib/interface.c:519(load_interfaces) ERROR: Could not determine network interfaces, you must use a interfaces config line These are repeated over and over until the upstart respawn limit is reached. This looks to me to be some sort of missing networking item in the upstart job (smbd.conf only has 'start on local-filesystems'), but I am not an upstart expert -- You received this bug notification because you are a member of Ubuntu Server Team, which is a bug assignee. https://bugs.launchpad.net/bugs/771305 Title: smbd does not start on first boot with 20110426 -- 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 771305] Re: smbd does not start on first boot with 20110426
Actually, it seems the network is not up yet: smbd version 3.5.8 started. Copyright Andrew Tridgell and the Samba Team 1992-2010 [2011/04/26 10:07:03.860866, 0] printing/print_cups.c:108(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable === [2011/04/26 10:07:03.885855, 0] printing/print_cups.c:108(cups_connect) Unable to connect to CUPS server localhost:631 - Network is unreachable === [2011/04/26 10:07:03.912124, 0] lib/interface.c:519(load_interfaces) ERROR: Could not determine network interfaces, you must use a interfaces config line === [2011/04/26 10:07:03, 0] smbd/server.c:1123(main) -- You received this bug notification because you are a member of Ubuntu Server Team, which is a bug assignee. https://bugs.launchpad.net/bugs/771305 Title: smbd does not start on first boot with 20110426 -- 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 771305] Re: smbd does not start on first boot with 20110426
BTW, I cannot reproduce on the standard ISO tests on Jenkins. -- You received this bug notification because you are a member of Ubuntu Server Team, which is a bug assignee. https://bugs.launchpad.net/bugs/771305 Title: smbd does not start on first boot with 20110426 -- 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 771305] Re: smbd does not start on first boot with 20110426
It looks like it needs the following now: start on (local-filesystems and net-device-up IFACE!=lo) -- You received this bug notification because you are a member of Ubuntu Server Team, which is a bug assignee. https://bugs.launchpad.net/bugs/771305 Title: smbd does not start on first boot with 20110426 -- 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