On 08/13/2011 09:28 PM, John P. Rouillard wrote:
> In message<alpine.deb.2.02.1108130922050.6...@asgard.lang.hm>,
> da...@lang.hm writes:
>
>> SEC works just fine reading from named pipe or stdin from a socket. I have
>> this working with rsyslog with the only problem being that when I want to
>> change the SEC rules, it involves a restart of rsyslog.
>
> Hmm, that's annoying to have to restart rsyslog? I assume it's the
> reopen logfile logic for the signals that requires this? Risto, for
> SIGHUP and SIGABRT can you tell if the filehandle is stdin and not
> close/reopen it? Maybe make it a command line option --no-close-stdin?

In fact, SEC never closes its stdin during restarts, but creates a file 
descriptor duplicate for stdin when its (re)opened. But interestingly 
enough, the 2.6.1 alpha version of SEC already contains a code 
enhancement which keeps all input file handles open across soft restarts 
(SIGABRT signals) :)
kind regards,
risto

>
> --
>                               -- rouilj
> John Rouillard
> ===========================================================================
> My employers don't acknowledge my existence much less my opinions.
>
> ------------------------------------------------------------------------------
> FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
> Subversion made easy with a complete admin console. Easy
> to use, easy to manage, easy to install, easy to extend.
> Get a Free download of the new open ALM Subversion platform now.
> http://p.sf.net/sfu/wandisco-dev2dev
> _______________________________________________
> Simple-evcorr-users mailing list
> Simple-evcorr-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users
>


------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Simple-evcorr-users mailing list
Simple-evcorr-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

Reply via email to