Interesting results for getservbyname() performance (and possible changes for /etc/services)
Nils Philippsen
nphilipp at redhat.com
Thu Jan 12 15:36:54 UTC 2006
On Thu, 2006-01-12 at 14:21 +0100, Ralf Ertzinger wrote:
> On Thu, Jan 12, 2006 at 02:10:22PM +0100, Nils Philippsen wrote:
>
> > Well, it can't be done this way because NS modules are running with the
> > user's privileges. This would have to be handed off to a daemon with the
> > privileges necessary.
>
> Isn't this exactly what nscd is for?
nscd can't (or at least doesn't) take advantage of knowing about local
file changes, it caches information for a certain time period and it
doesn't seem to cache services, only passwd, group, hosts.
Nils
--
Nils Philippsen / Red Hat / nphilipp at redhat.com
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- B. Franklin, 1759
PGP fingerprint: C4A8 9474 5C4C ADE3 2B8F 656D 47D8 9B65 6951 3011
More information about the fedora-devel-list
mailing list