From owner-freebsd-questions@FreeBSD.ORG Tue Mar 14 17:54:15 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B18116A426 for ; Tue, 14 Mar 2006 17:54:15 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8821943D66 for ; Tue, 14 Mar 2006 17:54:06 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.4) id k2EHs1p3067595; Tue, 14 Mar 2006 11:54:01 -0600 (CST) (envelope-from dan) Date: Tue, 14 Mar 2006 11:54:01 -0600 From: Dan Nelson To: Bill Moran Message-ID: <20060314175400.GA15821@dan.emsphone.com> References: <20060314105120.67ef5432.wmoran@collaborativefusion.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060314105120.67ef5432.wmoran@collaborativefusion.com> X-OS: FreeBSD 5.5-PRERELEASE X-message-flag: Outlook Error User-Agent: Mutt/1.5.11 Cc: questions@freebsd.org Subject: Re: Regarding the (apparent) removal of syslogd_program functionality in recent versions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Mar 2006 17:54:15 -0000 In the last episode (Mar 14), Bill Moran said: > The rc.conf manpage states that syslogd_program= can be used to > change the program run for system logging. This is also mentioned in > /etc/defaults/rc.conf and in the pkg-message for the syslog-ng port. > > It appears as if this capability has been removed from post 4.x > systems. The rcng script for syslog does not honor syslogd_program - > nor does anything else on a 6.0 system, as far as I can tell. The capability is still there; it's just overridden by the syslog startup script. If you remove the command="/usr/sbin/${name}" line from /etc/rc.d/syslogd, then setting syslogd_program will work again. There's already a default syslogd_program="/usr/sbin/syslogd" line in /etc/defaults/rc.conf, so hardcoding it in the startup script was unnecessary. -- Dan Nelson dnelson@allantgroup.com