[Gllug] Open Ports

Bruce Richardson itsbruce at uklinux.net
Mon Jan 28 16:31:14 UTC 2002


On 1/28/02, 4:20:33 PM, Matthew Kirkwood <matthew at hairy.beasts.org> wrote 
regarding Re: [Gllug] Open Ports :


> On Mon, 28 Jan 2002, Bruce Richardson wrote:

> > > >        disable         = yes
> >
> > > Bleugh! Sorry, pet hate of mine. Config files should never contain
> > > negative options. This should be "enable = no". Poor interface design.
> >
> > I see no logical reason for this.  The normal reason to write up a
> > service in xinetd.conf is to enable it - to disable it simply don't
> > include it.  The default is for a service to be enabled, so it makes
> > sense to add a disable line for the exceptions rather than having to
> > add an enable line to all the others.

> This doesn't follow; it's entirely possible for "enable" to
> be optional and to default to "yes".

Which does not, of itself, make a reason not to use "disable".

-- 

Bruce



-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list