sysklogd in RH4.2 always opens a UDP listen socket, even when -r is not specified on the command line. It doesn''t check the file descriptor when -r is off though, but the behaviour still irritates the system administrator greatly (see also the recent bugtraq messages about this). Here is a patch to fix this: --- sysklogd-1.3/syslogd.c-o Wed Sep 3 22:19:26 1997 +++ sysklogd-1.3/syslogd.c Wed Sep 3 22:19:39 1997 @@ -791,7 +791,7 @@ (char *) &on, sizeof(on)) < 0 ) { logerror("setsockopt, suspending inet"); } - else { + else if (AcceptRemote) { if (bind(finet, (struct sockaddr *) &sin, \ sizeof(sin)) < 0) { logerror("bind, suspending inet"); @@ -1834,7 +1834,7 @@ /* Close the sockets. */ close(funix); - close(inetm); + if (InetInuse) close(inetm); /* Clean-up files. */ (void) unlink(LogName); -Andi