Syslogd / rc
Doug Barton
DougB at FreeBSD.org
Sat Apr 12 15:17:28 PDT 2003
On Fri, 11 Apr 2003, Robin P. Blanchard wrote:
> Just updated our syslog server to 4.8-STABLE #0: Mon Apr 7 09:39:27 EDT 2003
> In my rc.conf I have:
> # fgrep syslog /etc/rc.conf
> syslogd_program="/usr/local/sbin/syslog-ng"
> syslogd_flags=""
>
> Syslog-ng starts up appropriately; but syslogd also tries to start now. Since
> the port's already in use, rc hangs during boot until I ctrl-c at that point.
> Perhaps something's not being evaluated properly in rc ?
I don't see how it could be. The code there is very simple. Can you please
confirm that you are using an unblemished version 1.212.2.51 of /etc/rc,
and then apply the following patch, and report the results:
Index: rc
===================================================================
RCS file: /home/ncvs/src/etc/rc,v
retrieving revision 1.212.2.51
diff -u -r1.212.2.51 rc
--- rc 17 Oct 2002 17:25:07 -0000 1.212.2.51
+++ rc 12 Apr 2003 22:16:37 -0000
@@ -392,6 +392,7 @@
rm -f /var/run/log
echo -n ' syslogd';
+ echo "My syslogd program is: ${syslogd_program:-/usr/sbin/syslogd}"
${syslogd_program:-/usr/sbin/syslogd} ${syslogd_flags}
;;
esac
More information about the freebsd-stable
mailing list