[syslog-ng] program destinations have parent process of init (1)

Evan Rempel erempel at uvic.ca
Thu Jul 19 07:04:41 CEST 2007


When syslog-ng has been configured to use a program destination, is seems that
the program is launched prior to syslog-ng "deamonizing" itself.

Normally the code for deamons is something like


fork
if I am parent process then exit
continue code as child process with parent now init (1)


Syslog-ng seems to be doing this;


start program destinations
fork
if I am parent process then exit
continue code as child process with parent now init (1)

when it should be doing

fork
if I am parent process then exit
continue code as child process with parent now init (1)
start program destinations


If I reload syslog-ng then the program destination has the parent
process of syslong-ng which is correct.

Evan.


More information about the syslog-ng mailing list