List Info

Thread: Re: How to not start syslogd




Re: How to not start syslogd
user name
2007-12-31 09:13:30
Jeffrey Goldberg wrote:
> On Dec 30, 2007, at 10:44 PM, Bill Moran wrote:
> 
>> Jeffrey Goldberg <jeffreygoldmark.org> wrote:
> 
>>> Putting
>>>
>>>   syslogd_enable="NO"
>>>
>>> into /etc/rc.conf did not prevent it from
starting.
>>
>> The above works on every system I've done it to
(which is quite a few).
>>
>> I suspect you've either got a typo in your rc.conf,
[...]
> 
> Yep.  It was a typo.  I should let this be a reminder
to always copy and
> paste such things into email instead of retyping.  What
I had in my
> rc.conf was really
> 
>   syslog_enable="NO"
> 
> Notice the missing "d'.
> 

Small hint shown to me many years ago when enabling things
in rc.conf.
If I want to startup ipfilter for example (trimmed to avoid
wrapping).

bash-2.05b# cat /etc/defaults/rc.conf | grep ^ipfilter

Returns the following,
ipfilter_enable="NO"            # Set to YES to
enable ipfilter
ipfilter_program="/sbin/ipf"    # where the
ipfilter program lives
ipfilter_rules="/etc/ipf.rules" # rules definition
file for ipfilter,
ipfilter_flags=""               # additional flags
for ipfilter

If it looks like what you want then write it into your
running rc.conf,

cat /etc/defaults/rc.conf | grep ^ipfilter >>
/etc/rc.conf

Then you can edit to enable, add flags, etc. Cures the
typos.

DAve


-- 
Google finally, after 7 years, provided a logo for
veterans. Thank you Google. What to do with my signature
now?
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: How to not start syslogd
country flaguser name
United States
2007-12-31 19:42:00
On Dec 31, 2007, at 9:13 AM, DAve wrote:

> Jeffrey Goldberg wrote:
>> Yep.  It was a typo.  I should let this be a
reminder to always  
>> copy and
>> paste such things into email instead of retyping.

> Small hint shown to me many years ago when enabling
things in rc.conf.
> If I want to startup ipfilter for example (trimmed to
avoid wrapping).
>
> bash-2.05b# cat /etc/defaults/rc.conf | grep ^ipfilter
>
> Returns the following,
> ipfilter_enable="NO"            # Set to YES
to enable ipfilter
> ipfilter_program="/sbin/ipf"    # where the
ipfilter program lives
> ipfilter_rules="/etc/ipf.rules" # rules
definition file for ipfilter,
> ipfilter_flags=""               # additional
flags for ipfilter
>
> If it looks like what you want then write it into your
running  
> rc.conf,
>
> cat /etc/defaults/rc.conf | grep ^ipfilter >>
/etc/rc.conf
>
> Then you can edit to enable, add flags, etc. Cures the
typos.

Thank you!  That is a very nice tip.

-j

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )