Skip to content

Introductions, some tweaks to ulogd

Chris Boot netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ulogd: Perform nice() before giving up rootsrc/ulogd.c+7 -72 replies
2/2ulogd: Implement PID file writingsrc/ulogd.c+74 -118 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Introductions, some tweaks to ulogd

Hi folks,

I am working on packaging ulogd-2.x for Debian, and currently have an initial set of packages uploaded and waiting for ftpmaster review in the NEW queue. I'd like to say hello to all folks involved with ulogd, and thanks for all the hard work getting it to where it is. Hopefully we can work together and make ulogd-2.x a first class citizen in Debian.

I intend to be a fully cooperative downstream maintainer, and to prove my intentions here are a couple of patches that I've been working on for the next upload of ulogd2.

The first patch simply fixes the deamon being able to nice() itself when run with the --uid argument. Currently the code runs nice() after setuid(); this fails to increase its priority as it is no longer root. The patch simply moves the code around a little to fix this.

The second patch adds a --pidfile option to ulogd, which enables it to write a PID file to somewhere like /var/run (or just /run). This is very useful within init scripts to make sure you're sending signals to the correct process.

Cheers,
Chris

Chris Boot (2):
ulogd: Perform nice() before giving up root
ulogd: Implement PID file writing

 src/ulogd.c |   89 +++++++++++++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 81 insertions(+), 8 deletions(-)
Signature · 1 line
1.7.10.4