Operating System - HP-UX
1834156 Members
2291 Online
110064 Solutions
New Discussion

TRYAGAIN=continue in nsswitch.conf

 
SOLVED
Go to solution
skt_skt
Honored Contributor

TRYAGAIN=continue in nsswitch.conf

HPUX 11.11/ PARISC

y standard entry for hosts in the configuration file is

hosts: files [NOTFOUND=continue] dns

Now saw this particular entry (TRYAGAIN=continue) and any one know what is the pros/cons having that there?

hosts: files [NOTFOUND=continue TRYAGAIN=continue] dns
1 REPLY 1
James R. Ferguson
Acclaimed Contributor
Solution

Re: TRYAGAIN=continue in nsswitch.conf

Hi:

A 'TRYAGAIN' response from the source is saying that the source is busy and might respond if you retry it. Since this is coupled with the 'continue' action which proceeds to the next source in the list (here, 'dns'), it is meaningless to state it, since by default, the 'continue' action occurs on any result except 'SUCCESS'.

From the 'nsswitch(4)' manpages:

"The default criteria are to continue on anything except SUCCESS; in other words, [SUCCESS=return NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue]."

Regards!

...JRF...