You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
649 B

Index: rbldnsd.c
--- rbldnsd.c.orig 2004-06-09 23:39:21 +0200
+++ rbldnsd.c 2004-07-15 12:40:03 +0200
@@ -532,7 +532,6 @@
}
ipc_fd = pfd[1];
close(pfd[0]);
- openlog(progname, LOG_PID|LOG_NDELAY, LOG_DAEMON);
logto = LOGTO_STDERR|LOGTO_SYSLOG;
if (!quickstart && !flog) logto |= LOGTO_STDOUT;
}
@@ -590,6 +589,8 @@
if (setgroups(1, &gid) < 0 || setgid(gid) < 0 || setuid(uid) < 0)
error(errno, "unable to setuid(%d:%d)", (int)uid, (int)gid);
+ openlog("rbldnsd", LOG_PID|LOG_NDELAY, LOG_DAEMON);
+
for(c = 0; c < argc; ++c)
zonelist = addzone(zonelist, argv[c]);
init_zones_caches(zonelist);