Re: [Bug 462169] Re: nmbd dies on startup when network interfaces are not up yet

2010-05-17 Thread Steve Langasek
On Mon, May 17, 2010 at 05:16:47PM -, Nicolas M wrote:

> Now, with Ubuntu, here is what I get, with standard nmbd and smbd conf
> files : 
> -  At boot time : only smbd started.
> -  nmbd must be started manually or samba restarted when network is
>up to have nmbd + smbd operational. 

That should not be the case.  The upstart configuration says *to start nmbd
when the network comes up.*  Please put the nmbd.conf back in the correct
configuration, boot with '--verbose' on the commandline, log in, and attach
the /var/log/syslog.conf that results.

> -  If only smbd is running, file sharing on the server is *not* 
> working: the server is visible from the PCs, but impossible to enter 
> workgroup or shares (they are not visible).
> -  If nmbd (and smbd) started, then SMB/Samba file sharing works at 
> 100%

> As I explain, due to Wifi, network will come up only after boot (and after
> nmbd start). 

Why would nmbd start before your network is up?

-- 
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 Developerhttp://www.debian.org/
slanga...@ubuntu.com vor...@debian.org

-- 
nmbd dies on startup when network interfaces are not up yet
https://bugs.launchpad.net/bugs/462169
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


Re: [Bug 462169] Re: nmbd dies on startup when network interfaces are not up yet

2010-05-16 Thread Steve Langasek
On Sun, May 16, 2010 at 12:28:45PM -, Nicolas M wrote:
> => So my question here: why having a different startup condition for
> smbd and nmbd, as both daemons need to be running for samba to operate ?

Because:

 - nmbd is only needed for operations in some environments, so smbd should
   not block on nmbd being ready before starting
 - nmbd *must* wait for a broadcast-capable network interface to come up
   before it's started, otherwise it will fail - so it can't use the same
   start condition smbd currently does.

-- 
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 Developerhttp://www.debian.org/
slanga...@ubuntu.com vor...@debian.org

-- 
nmbd dies on startup when network interfaces are not up yet
https://bugs.launchpad.net/bugs/462169
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


Re: [Bug 462169] Re: nmbd dies on startup when network interfaces are not up yet

2010-04-05 Thread Christian Perrier
> This has just cropped up on my PC too (Xubuntu 9.10), after installing
> lirc, hangs on bootup just before the login screen (slim). (smb.conf is
> vanilla). Wouldn't work in recovery mode, told me about the nmbd pid but
> wouldn't let me do anything about it so CTRL-ALT-DEL was necessary.
> 
> Samba version 2:3.4.0-3ubuntu5.6
> 
> Found that by removing quiet and splash from the grub boot entry I could
> boot up OK again, and nmbd and smbd showing in htop.

The same was reported to Debian as well and looks like it is the same
timing problem: http://bugs.debian.org/576415

I'm just discovering the long story of that LP#462169. It apparently
got fixed in some Ubuntu packages and just forgot flowing "upstream".

If only I could find the patch in LP, it could be added to the Debian
package but that bug is...ahemquite hairy. I get gazillion
informations about the people who are subscribed to the bug but no
obvious point that says *this is the fix*.

-- 
nmbd dies on startup when network interfaces are not up yet
https://bugs.launchpad.net/bugs/462169
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


Re: [Bug 462169] Re: nmbd dies on startup when network interfaces are not up yet

2010-01-27 Thread Steve Langasek
On Sat, Jan 23, 2010 at 10:20:19PM -, ripeart wrote:
> Hello, this is affecting me also, rendering my server unusable.

This bug is fixed in both karmic and lucid.  If you have not yet installed
the updated samba package from karmic-updates, you should do so.  If you
have the current karmic-updates or lucid version of samba installed and are
still having problems, you have a different bug and should file a separate
report.

> I have the same issues as everyone above however with the additional that
> my system stops at the error. I cannot log in locally, nor can I ssh into
> the box.

This bug in no way would cause such symptoms.

-- 
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 Developerhttp://www.debian.org/
slanga...@ubuntu.com vor...@debian.org

-- 
nmbd dies on startup when network interfaces are not up yet
https://bugs.launchpad.net/bugs/462169
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


Re: [Bug 462169] Re: nmbd dies on startup when network interfaces are not up yet

2010-01-24 Thread theozzlives
have you tried: sudo /etc/init.d/samba start? This is not meant for a
production server we're only in Alpha 2. I have to issue the previous
command in order for my laptop to be seen by my other computers. the
bookmark idea was to see other computers. I hope this helps.

-- 
nmbd dies on startup when network interfaces are not up yet
https://bugs.launchpad.net/bugs/462169
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


Re: [Bug 462169] Re: nmbd dies on startup when network interfaces are not up yet

2010-01-05 Thread Steve Langasek
On Tue, Jan 05, 2010 at 04:04:16PM -, thebrotherofasis wrote:
> I can also confirm that while I'm running 3.4.0-3ubuntu5.1 the issue hasn't
> been solved either.

It's not supposed to have been solved in 3.4.0-3ubuntu5.1.  The fix is in
3.4.0-3ubuntu5.3, present in karmic-proposed.

-- 
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 Developerhttp://www.debian.org/
slanga...@ubuntu.com vor...@debian.org

-- 
nmbd dies on startup when network interfaces are not up yet
https://bugs.launchpad.net/bugs/462169
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


Re: [Bug 462169] Re: nmbd dies on startup when network interfaces are not up yet

2010-01-05 Thread thebrotherofasis
I can also confirm that while I'm running 3.4.0-3ubuntu5.1 the issue hasn't
been solved either.

After booting, running /etc/init.d/samba status shows nmbd not running.


On Tue, Jan 5, 2010 at 10:22 AM, razor7  wrote:

> Hi...i have 3.4.0-3ubuntu5.1 and this issue is not solved at all...!!!
>
> --
> nmbd dies on startup when network interfaces are not up yet
> https://bugs.launchpad.net/bugs/462169
> You received this bug notification because you are a direct subscriber
> of the bug.
>

-- 
nmbd dies on startup when network interfaces are not up yet
https://bugs.launchpad.net/bugs/462169
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


Re: [Bug 462169] Re: nmbd dies on startup when network interfaces are not up yet

2009-12-16 Thread Bane
Steve, yes it worked.

On Wed, Dec 16, 2009 at 7:35 PM, skyhard 
wrote:

> No, I didn't run into that bug. Just to add I have the amd64 version of
> karmic
>
> --
> nmbd dies on startup when network interfaces are not up yet
> https://bugs.launchpad.net/bugs/462169
> You received this bug notification because you are a direct subscriber
> of the bug.
>

-- 
nmbd dies on startup when network interfaces are not up yet
https://bugs.launchpad.net/bugs/462169
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


Re: [Bug 462169] Re: nmbd dies on startup when network interfaces are not up yet

2009-12-09 Thread Steve Langasek
martin,

On Wed, Dec 09, 2009 at 10:26:30PM -, razor7 wrote:
> hosts:  files mdns4_minimal [NOTFOUND=return] wins dns mdns4 #changed 
> to avoid OpenDNS issues

The use of 'wins' here suggests you may have a different bug.  Please
provide the /etc/samba/smb.conf and /var/log/samba/log.nmbd from this system
as well (after setting log level = 3) - preferably attaching these to your
original bug, bug #487795, so if we find ourselves unmarking that bug as a
duplicate, all your information stays with it.

So far, the only way I can reproduce any failure at all is if the loopback
interface is also down, and no interfaces line is set.  That would appear to
be a duplicate of bug #461725; and furthermore it produces an entirely
different error message in the log:

 [2009/12/09 15:16:37,  0] lib/interface.c:527(load_interfaces)
   ERROR: Could not determine network interfaces, you must use a interfaces 
config line

and causes smbd to fail to start *in addition to* nmbd.  So this doesn't
match the bug report of the original user.

It looks like I'm still missing here a complete set of:

 - description of which server processes fail to run
 - copy of /etc/samba/smb.conf
 - copy of /var/log/samba/log.nmbd (with log level = 3 set)
 - copy of /etc/nsswitch.conf
 - copy of /etc/resolv.conf

from *the same* user.  Until I have all of these things (preferably from the
original submitter, with other people experiencing problems filing their own
bug reports so that they can be tracked separately if it's *not* the same
bug), I don't think I'm going to make forward progress on resolving this.

-- 
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 Developerhttp://www.debian.org/
slanga...@ubuntu.com vor...@debian.org

-- 
nmbd dies on startup when network interfaces are not up yet
https://bugs.launchpad.net/bugs/462169
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


Re: [Bug 462169] Re: nmbd dies on startup when network interfaces are not up yet

2009-12-09 Thread Steve Langasek
skyhard,

On Wed, Dec 09, 2009 at 10:19:38PM -, skyhard wrote:
> Samba never starts for me during boot, se every time  want to use the
> network I have to start the samba service manually!

The bug being tracked here is specifically related to the nmbd server not
starting.  Can you please confirm that your boot-time start error has the
same log output as Alain's in
,
using 'log level = 3' in /etc/samba/smb.conf?  Your description of what
you're seeing makes me think it may not be the same problem.

-- 
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 Developerhttp://www.debian.org/
slanga...@ubuntu.com vor...@debian.org

-- 
nmbd dies on startup when network interfaces are not up yet
https://bugs.launchpad.net/bugs/462169
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