[Bug 596064] Re: nmbd fails to start on boot - problem with upstart

camden lindsay 596064 at bugs.launchpad.net
Sat Oct 8 05:02:22 UTC 2011


I just hit this bug, after updating samba to start after eth0 was up because of bug 
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/823878


dylan at strut-google-server:~$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.3 LTS"
dylan at strut-google-server:~$ cat /tmp/upstart-nmbd.log 
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[Strut Share]"
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
ERROR: lock directory /var/run/samba does not exist
ERROR: pid directory /var/run/samba does not exist
dylan at strut-google-server:~$

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/596064

Title:
  nmbd fails to start on boot - problem with upstart

Status in “samba” package in Ubuntu:
  Fix Released
Status in “samba” source package in Lucid:
  Confirmed
Status in “samba” source package in Maverick:
  Triaged

Bug description:
  Binary package hint: samba

  1. Release of Ubuntu is 10.04 LTS
  2. Version of Samba is - 3.4.7

  Problem - Expected nmbd service to start at boot but it  failed to
  start at boot. We have multiple systems but this problem has been
  noticed only on certain systems. The same packages were installed on
  all systems. As a workaround, we changed the pre start script
  configuration file for nmbd - /etc/init/nmbd.conf to make it start at
  boot always. The following 2 lines were commented in the nmbd.conf
  file -

          NMBD_DISABLED=`testparm -s --parameter-name='disable netbios' 2>/dev/null`
         [ "x$NMBD_DISABLED" = xYes ] && { stop; exit 0; }

  I don't think that I understand what the second line is trying to do.
  Please check and advise how to fix this problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/596064/+subscriptions




More information about the foundations-bugs mailing list