Hi,
ulogd is segfaulting on kill TERM when logfile is set to 'syslog' in the
configuration. Please find a patch below. Another point: Should stdout
stay open on daemonize when logging to syslog ??
--- ulogd.c.orig 2011-03-24 15:45:34.000000000 +0100
+++ ulogd.c 2011-03-24 15:48:37.000000000 +0100
@@ -1047,7 +1047,7 @@
unload_plugins();
#endif
- if (logfile != NULL && logfile != stdout) {
+ if (logfile != NULL && logfile != stdout && logfile !=
&syslog_dummy ) {
fclose(logfile);
logfile = NULL;
}
@@ -1228,7 +1228,7 @@
if (fork()) {
exit(0);
}
- if (logfile != stdout && logfile != &syslog_dummy)
+ if (logfile != stdout )
fclose(stdout);
fclose(stderr);
fclose(stdin);
Cheers,
-salih
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html