/etc/services

Greg Schafer diy-linux-dev@diy-linux.org
Fri, 27 Jan 2006 18:18:15 +1100


Hi Guys

I admit to being a little skeptical when the "Iana-Etc" package first came
onto the scene. "Do I really need every service under the sun listed in
/etc/services?". While browsing the Fedora lists I came across these threads
which suggest my skepticism was probably justified:

https://www.redhat.com/archives/fedora-devel-list/2006-January/msg00443.html
https://www.redhat.com/archives/fedora-devel-list/2006-January/msg01231.html

The gist of it is this: having an enormous /etc/services file will slow down
getservbyname() in some situations.

Obviously, not everyone is affected. Nevertheless, it's something that all
clued in folks should be aware of. I'll make a note.

Regards
Greg