OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: /etc/rc syslogd patch for your consideration

From: Jeff Ross (jrossopenvistas.net)
Date: Wed Mar 21 2007 - 11:06:15 CDT


Theo de Raadt wrote:
>> This small patch adds a check to /etc/rc to see if syslogd should be
>> started or not, making it consistent with the other daemons listed in
>> /etc/rc.conf.
>>
>> The default behavior of automatically starting syslogd is not changed,
>> but setting syslogd_flags to NO in /etc/rc.conf.local will cause this
>> code block to be skipped instead syslogd throwing an error message to
>> the screen.
>
> I strongly believe that syslogd should always run. The consequences
> of not running it are bizzare.
>

I agree.

> I think not running it is heading too strongly in the direction of
> "embedded device", and that people going that far should make their
> own larger changes to the rc scripts, outside the rc.conf framework.
>

In my own case, I'm running an alternative system logger that is already
up, having been started by the !syntax in the first interface that
netstart brings up. When syslogd starts it claims /dev/log.

However, I can continue to merge my /etc/rc with any new changes that
lie ahead in the stock /etc/rc. Thank you for considering my patch.

Jeff Ross