OK, so the issue seems to be that << testparm -s --parameter-
name='disable netbios' >> sometimes fails (or returns 'Yes') when
started at boot-time. The "start on (local-filesystems and net-device-up
IFACE!=lo)" should however be late enough...

To confirm, could you try with:

pre-start script
  date > /tmp/nmbd-upstart.log
  NMBD_DISABLED=`testparm -s --parameter-name='disable netbios' 
2>>/tmp/nmbd-upstart.log`
  echo "Output is $NMBD_DISABLED" >> /tmp/nmbd-upstart.log
  [ "x$NMBD_DISABLED" = xYes ] && { stop; exit 0; }
  install -o root -g root -m 755 -d /var/run/samba
end script

And post the resulting /tmp/nmbd-upstart.log when it fails ?

-- 
nmbd fails to start on boot - problem with upstart 
https://bugs.launchpad.net/bugs/596064
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

Reply via email to