Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 2006 11:54:01 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Bill Moran <wmoran@collaborativefusion.com>
Cc:        questions@freebsd.org
Subject:   Re: Regarding the (apparent) removal of syslogd_program functionality in recent versions
Message-ID:  <20060314175400.GA15821@dan.emsphone.com>
In-Reply-To: <20060314105120.67ef5432.wmoran@collaborativefusion.com>
References:  <20060314105120.67ef5432.wmoran@collaborativefusion.com>

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



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