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

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 14 Mar 2006 11:54:01 -0600
Dan Nelson <dnelson@allantgroup.com> wrote:
> 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.

This is why I asked, as this seems to indicate that /etc/rc.d/syslogd
has a bug in it.  If that's the case, then said PR needs to be regarding
this script, and not the docs.

-- 
Bill Moran
Collaborative Fusion Inc.



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