Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Apr 2006 11:02:37 +0100
From:      Ceri Davies <ceri@submonkey.net>
To:        Michael Bushkov <bushman@rsu.ru>
Cc:        freebsd-current@freebsd.org, Colin Percival <cperciva@freebsd.org>, freebsd-arch@freebsd.org
Subject:   Re: [HEADS UP] upcoming /etc/services updating
Message-ID:  <20060429100236.GJ51777@submonkey.net>
In-Reply-To: <001801c66b42$d48d4740$e8775050@jersey>
References:  <002401c66b0a$44c230e0$01655050@jersey> <44529510.6030704@freebsd.org> <20060428222627.GI51777@submonkey.net> <001801c66b42$d48d4740$e8775050@jersey>

next in thread | previous in thread | raw e-mail | index | archive | help

--/QKKmeG/X/bPShih
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Apr 29, 2006 at 08:09:35AM +0400, Michael Bushkov wrote:
> Hi!
>=20
> 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?
>=20
> Yes - and caching for services should be turned on in nsswitch.conf by=20
> default too.

Good point.

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

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

>  Besides, as services=20
> information changes extremely rarely, I'd also suggest putting greater TT=
L=20
> 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
--=20
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere

--/QKKmeG/X/bPShih
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQFEUzm8ocfcwTS3JF8RAusXAJ41L7hyi+MxQKGd1Lx+330/sLT7XACgoOBE
PPT2KCnjKx1FkeNVfAZ480I=
=InY5
-----END PGP SIGNATURE-----

--/QKKmeG/X/bPShih--



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