The Samba-Bugzilla – Bug 4770
Change of pidfile creation
Last modified: 2008-02-13 02:34:00 UTC
Hello Samba Team,
in our Company we use samba on AIX with HACMP. For using more instances we have patched the source code of pidfile.c in source/lib directory.
The Filename of the Pidfile(with alternative Conf File) will be created with the follwing fields: <programname>_<NAME of Conffile without .conf>.pid
In the old varainte the name was like: <programname>-<conffilename with .conf>.pid
The patch change only the pidfilename, so that it look better.
Created attachment 2805 [details]
CHange the alternitave Pid FIle name
this is implemented in the current samba release now in a similar way
the pid file will be still created with the full .conf File name
root@xxxxx# ls -l /var/run/samba/inst01/smbd-smb_inst01.conf.pid
-rw-r--r-- 1 root system 7 Feb 13 09:20 /var/run/samba/inst01/smbd-smb_inst01.conf.pid
root@xxxxx# smbd --version