[Gllug] Open Ports

Bruce Richardson itsbruce at uklinux.net
Mon Jan 28 15:47:03 UTC 2002


On 1/28/02, 3:32:39 PM, tet at accucard.com wrote regarding Re: [Gllug] Open 
Ports :


> >The files in this directory, an example of one below, can be edited to
> >"disable" services as apposed to deleting them....
> >
> > [...]
> >
> >        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.

If the line were compulsory you might have a point but even then I'd say 
it was a question of aesthetics (smb.conf has several examples where both 
semantics are allowed).

-- 

Bruce

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




More information about the GLLUG mailing list