It should be: mkdir -p /var/run/samba Otherwise if the directory already exists it won't be able to start. So mkdir -p will start in all conditions.
-- 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/596064 Title: nmbd fails to start on boot - problem with upstart -- 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