Allan Peda
2002-Jun-14 09:07 UTC
[Samba] winbindd pid changes when launched - is this a bug?
I took a look at the pid file generated after starting winbindd in the
background (redhat's "daemon" shell function in the startup
script).
It looks like the pid reported in the file is wrong, unless I start
winbindd in the foreground.
My klooge in the startup file follows:
WBPID=$(/sbin/pidof winbindd)
ps $WBPID && {
if [ $(cat $RUNDIR/winbindd.pid) -ne $WBPID ]
then
echo $WBPID > $RUNDIR/winbindd.pid
fi
}
unset WBPID
Just pointing this out:
/a
