Re: [Openslp-devel] Fix for libslp SEGV at exit

2008-07-25 Thread Roel van de Kraats
On 07/24/2008 08:13 PM, Nick Wagner wrote: > By which I mean having a LIBSLPPropertyCleanup() that checks > s_PropInited and does the SLPSpinLockAcquire on the s_PropInitLock > before calling SLPPropertyExit. Sounds good. Please have a look at rev 1595 for my implementation (I was the one who

[Openslp-devel] Does "watchRegistrationPID" work?

2008-07-25 Thread Patrick
Hello All, I've read the config file under /etc/slp.conf. Inside it, there is a section ;net.slp.watchRegistrationPID = false I think this is about the openslp watching on the services (or process, i.e. sshd, ftpd) in SA. And if the running services is down, or the pid disappears, SA will know th

Re: [Openslp-devel] Fix for libslp SEGV at exit

2008-07-25 Thread Nick Wagner
Looks good -- does this interfere with your atexit() case? On Fri, Jul 25, 2008 at 2:39 AM, Roel van de Kraats <[EMAIL PROTECTED]>wrote: > > > On 07/24/2008 08:13 PM, Nick Wagner wrote: > >> By which I mean having a LIBSLPPropertyCleanup() that checks s_PropInited >> and does the SLPSpinLockAcqui

Re: [Openslp-devel] Fix for libslp SEGV at exit

2008-07-25 Thread Roel van de Kraats
On 07/25/2008 09:04 PM, Nick Wagner wrote: > Looks good -- does this interfere with your atexit() case? No, since the lib doesn't use atexit() itself anymore, it won't even know it is being called during the exit phase. Of course this was the first thing I tested ;-) I've also seen that SLPProp

Re: [Openslp-devel] Does "watchRegistrationPID" work?

2008-07-25 Thread Nick Wagner
Searching through my archives of list email, PID watching was supported/fixed (Feb/Mar 08, [openslp-devel] slpd problem on sparc solaris), but I haven't used it myself. --Nick On Fri, Jul 25, 2008 at 10:08 AM, Patrick <[EMAIL PROTECTED]> wrote: > Hello All, > I've read the config file under /et

Re: [Openslp-devel] Does "watchRegistrationPID" work?

2008-07-25 Thread Roel van de Kraats
On 07/25/2008 05:08 PM, Patrick wrote: > Hello All, > I've read the config file under /etc/slp.conf. > Inside it, there is a section > ;net.slp.watchRegistrationPID = false > > I think this is about the openslp watching on the services (or > process, i.e. sshd, ftpd) in SA. In more detail, slp