Comment 21 for bug 596064

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 596064] Re: nmbd fails to start on boot - problem with upstart

On Fri, 2010-12-10 at 20:52 +0000, Jean-Michel Dault wrote:
> 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.
I'm pretty sure "install -d" exits with success if the directory already
exists, too.

Cheers,

Jelmer