Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Apr 2006 11:49:15 -0400
From:      "Coleman Kane" <zombyfork@gmail.com>
To:        "Sean Winn" <sean@gothic.net.au>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: [PATCH] Fancy rc startup style RFC - v6
Message-ID:  <346a80220604230849r6ac2a56av4acee468f3f9cb68@mail.gmail.com>
In-Reply-To: <001601c666a5$bba24a10$2522630a@t22>
References:  <20060423045024.GJ850@silverwraith.com> <001601c666a5$bba24a10$2522630a@t22>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/23/06, Sean Winn <sean@gothic.net.au> wrote:
>
> owner-freebsd-hackers@freebsd.org wrote:
> > On Thu, Apr 20, 2006 at 10:32:33PM -0500, Eric Anderson wrote:
> >> Other than that, do we have general consensus that these do what they
> >> claim?  Any outstanding issues that haven't been addressed?
> >
> > One request:
> >
> > Please remove the two seperate rc.conf lines, and replace with just
> >   one: rc_fancy=3D YES | NO | COL[O|OU]R
> >
> > So that it works line the sendmail_enable option (YES/NO/NONE)
> > Then include any other tunables in rc_fancy_flags
>
> Definitely not a good idea to use that as a model:
>
> man rc.sendmail
>
> ..
>      sendmail_enable
>              (str) If set to ``YES'', run the sendmail(8) daemon at
> system
>              boot time.  If set to ``NO'', do not run a sendmail(8)
> daemon to
>              listen for incoming network mail.  This does not preclude a
>              sendmail(8) daemon listening on the SMTP port of the
> loopback
>              interface.  The ``NONE'' option is deprecated and should
> not be
>              used.  It will be removed in a future release.
> ..
>
> Yes/no options should just be yes/no.


Correct, I concur. This is especially true since the 'configuration check'
function is checkyesno and looks for YES or NO values. In fact, I think tha=
t
sendmail was the only one two use this convention. This was brought in to
appease those who use qmail (or other mailservers) with an easy method of
turning off sendmail's local 'spool' service, to instead use qmail (or
whatever else you like...). I remember the convention not being very
pleasant for those involved.

--
coleman



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