[HEADS UP] upcoming /etc/services updating

Ceri Davies ceri at submonkey.net
Sat Apr 29 10:02:41 UTC 2006


On Sat, Apr 29, 2006 at 08:09:35AM +0400, Michael Bushkov wrote:
> Hi!
> 
> Colin Percival wrote:
> >>
> >>Now that searching through a large /etc/services file is no longer a
> >>performance bottleneck, I intend to merge most of IANA's port assignment
> >>list into our /etc/services some time in mid-May.
> >>
> >>If anyone objects to this, please let me know now.
> >
> >Would it be wise to wait until cached is enabled by default?
> 
> Yes - and caching for services should be turned on in nsswitch.conf by 
> default too.

Good point.

> I think, that "perform-actual-lookups" mode should also be enabled for 
> "services" by default in cached.conf - so that the cache for services 
> information would be the same for all users.

So "perform-actual-lookups" essentially creates a system-wide cache?

>  Besides, as services 
> information changes extremely rarely, I'd also suggest putting greater TTL 
> values for "services" in the cached.conf.

Yes, the services cache could always be flushed by the superuser after
changing the services data source.

Ceri
-- 
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20060429/67d3b61f/attachment.pgp


More information about the freebsd-arch mailing list