Regarding the (apparent) removal of syslogd_program
functionality in recent versions
Bill Moran
wmoran at collaborativefusion.com
Tue Mar 14 18:40:24 UTC 2006
On Tue, 14 Mar 2006 11:54:01 -0600
Dan Nelson <dnelson at 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.
More information about the freebsd-questions
mailing list