Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Apr 2003 15:17:25 -0700 (PDT)
From:      Doug Barton <DougB@FreeBSD.org>
To:        "Robin P. Blanchard" <Robin.Blanchard@gactr.uga.edu>
Cc:        stable@freebsd.org
Subject:   Re: Syslogd / rc
Message-ID:  <20030412151154.D25048@znfgre.tberna.bet>
In-Reply-To: <EE3D3FBAFFCAED448C21C398FDAD91AC2372EB@EBE1.gc.nat>
References:  <EE3D3FBAFFCAED448C21C398FDAD91AC2372EB@EBE1.gc.nat>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030412151154.D25048>