On Thu, Jun 20, 2013 at 11:13 AM, Rainer Gerhards <[email protected]>wrote:
> > On Thu, Jun 20, 2013 at 11:10 AM, Risto Vaarandi <[email protected]>wrote: > >> On 06/20/2013 11:31 AM, Rainer Gerhards wrote: >> >>> On Wed, Jun 19, 2013 at 4:49 PM, David Lang<[email protected]> wrote: >>> >>> On Wed, 19 Jun 2013, Rainer Gerhards wrote: >>>> >>>> I have just checked the code and that is not intentional. I may have >>>> >>>>> overlooked something, as omprog was originally writen to a user >>>>> request, >>>>> but that users disappeared when it was done and nobody else reported >>>>> much >>>>> on it. I think this is the right solution for external programs, and >>>>> so I >>>>> would be very happy to look into problems that the module may have. >>>>> >>>>> >>>> I know that a restart of rsyslog will kill the program specified, >>>> >>> >>> >>> it doesn't actively kill it, but the program will receive end-of-file on >>> it's input. >>> >>> >>> will a HUP kill and restart the program? >>>> >>>> >>>> no >>> >> >> It is slightly off-topic, but since SEC was mentioned in this thread, >> then the current version will actually not terminate on EOF on pipe. It >> will terminate either on TERM from parent, or with a help of a special rule >> that would call exit(0) on no input. Since this is not very convenient for >> connecting SEC to rsyslog via memory-based pipe, the new version of SEC >> (currently ready and under testing) will have better support for receiving >> input over a pipe from rsyslog. >> > > would it help if I add support to send SIGTERM? As of rsyslog policies, I > can ony do that in the devel, which means 7.5 branch. > sorry, half-baked comment. My concern is if someone upgrades to the latest rsyslog devel, wouldn't he also upgrade to the latest sec, making this change a no-brainer? Or do we think it may be useful for other apps as well? Rainer _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

