[rsyslog] Privilege drop makes stopping it (via Ubuntu upstart) to hang
mbiebl at gmail.com
Fri Jan 11 06:54:01 CET 2013
2013/1/10 Rainer Gerhards <rgerhards at hq.adiscon.com>:
>> So you need some kind of communication channgel between the parent and
>> the child process? You could use a unix domain socket  for this.
> Yeah, I was thinking of a smaller change. It will probably sufficient if I send sigterm before dropping privs, but I need to check things a bit
Maybe you already know , but it contains some general, useful
information regarding how to write (sysv) daemons.
In Step 14), Lennart is suggesting using an unnamed pipe.
Hope this is useful.
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
More information about the rsyslog