[Samba] PID-File smbd/nmbd

Gerald (Jerry) Carter jerry at samba.org
Fri Sep 19 13:28:12 GMT 2008

Hash: SHA1

w.wegner at astro-kom.de wrote:
> Dear list,
> I just stumbled over a configuration issue that I seem to remember
> not to be there in 3.0.20 (when I built up my configuration).
> The pid file name is built including a suffix specifying the
> configuration name. (this is done directly in pidfile_create in
> lib/pidfile.c)
> There is no need to do so because the "pid directory" lets
> one specify a directory to store the pid file. Furthermore, this
> behaviour is not documented anywhere (at least I could not
> find a reference yet).
> Last but not least, it makes control of multiple servers with
> one start script less straight-forward.
> Conclusion: I consider this behaviour as a bug.

This was a patch specifically added by request IIRC.

  commit e8bf421c018ed829b9dba7c0872693080b77d49d
  Author: Jeremy Allison <jra at samba.org>
  Date:   Thu Nov 2 09:37:52 2006 +0000

    r19533: Add a suffix to the program name if this is a
    process with a non-default configuration file name.

cheers, jerry
- --
Samba                                    ------- http://www.samba.org
Likewise Software          ---------  http://www.likewisesoftware.com
"What man is a man who does not make the world better?"      --Balian
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the samba mailing list