samba3-v3-4.x pidfile creation (name of pidfile) seems to break all (open)suse rc scripts - are other distros involved, too ?

Karolin Seeger kseeger at samba.org
Fri Jul 3 08:32:18 GMT 2009


Hi Günter,

On Fri, Jul 03, 2009 at 04:20:11AM +0200, Günter Kukkukk wrote:
> during samba3.3.x and samba3.4.x testings i noticed the following
> different behaviour between 3.3.x and 3.4.x:
> 
> opensuse rc scripts (10.3 ... 11.0) like "rcsmb" or "/etc/init.d/smb" use
> the start option like
>     "startproc -p ${PID_FILE} ${SMBD_BIN} -D -s ${SMB_CONF}"
> 
> The problematic part seems to be the '-s'option
> 
> When using 3.3.x inside a root console:
>      a) /usr/sbin/smbd -i
>      b) /usr/sbin/smbd -i -s /etc/samba/smb.conf
> 
> I _always_ get the following pid file:
>     a) or b) /var/run/samba/smbd.pid
> 
> This behaviour has changed (dramatically) when using 3.4.x:
>     a) /usr/sbin/smbd -i
>     b) /usr/sbin/smbd -i -s /etc/samba/smb.conf
> 
> Now i get _two_ different pid files:
>     a) /var/run/samba/smbd.pid
>     b) /var/run/samba/smbd-smb.conf.pid
> 
> AFAIK - opensuse always uses the '-s' start option - and always
> expects that the pid file is named "smbd.pid".
> 
> "smbd-smb.conf.pid" now breaks all suse rc scripts - don't know
> how other distros are involved.
> 
> Atm i had no closer look at the samba3 source - the usage of
> "is_default_dyn_CONFIGFILE()" seems to be involved.
> 
> (where and why have the semantics been changed...?)
> 
> Lars, is samba3-4.x already available on opensuse 11.1 ?

I created a bug report to get that fixed for 3.4.0.
https://bugzilla.samba.org/show_bug.cgi?id=6531

Thanks!

Karolin

-- 
Samba			http://www.samba.org
SerNet			http://www.sernet.de
sambaXP			http://www.sambaxp.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20090703/8c765df6/attachment.bin


More information about the samba-technical mailing list