Public bug reported: Binary package hint: samba
There's probably a good reason for this behavior, but it sure is annoying! Steps to reproduce: 1. Start samba services, ensure nmbd is running. with `ps faux | grep nmbd` 2. `tail -f /var/log/samba/log.nmbd &` <-- observe 3. disable networking in nm-applet. 4. the log will eventually say, "reload_interfaces: No subnets to listen to. Shutting down.." Expected results: nmbd runs until told otherwise Here are a few brief discussions(?) elsewhere about this issue: http://www.mail-archive.com/[EMAIL PROTECTED]/msg41675.html (contains a patch, but was supposed to be for version 3.0.5pre2) http://lists.apple.com/archives/macos-x-server/2006/Mar/msg01363.html http://lists.samba.org/archive/samba-technical/2002-June/022340.html Here's a quick 'n dirty potential fix (the samba code just looked way too nice not to try :) but it may have undesirable side effects. I'm not an expert by any means! --- samba-3.0.26a/source/nmbd/nmbd.c 2007-02-28 21:54:45.000000000 -0700 +++ samba-3.0.26afixed/source/nmbd/nmbd.c 2008-01-04 15:38:24.000000000 -0700 @@ -566,8 +566,7 @@ /* check for new network interfaces */ - if(reload_interfaces(t)) - return; + while(reload_interfaces(t)); /* free up temp memory */ lp_TALLOC_FREE(); ** Affects: samba (Ubuntu) Importance: Undecided Status: New -- nmbd shuts down when network disconnected https://bugs.launchpad.net/bugs/180493 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs