From russell@ets.cis.brown.edu Thu May 13 09:36:50 1999 Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id JAA11097 for ; Thu, 13 May 1999 09:36:49 -0400 Received: from ets.cis.brown.edu by MIT.EDU with SMTP id AA07266; Thu, 13 May 99 09:36:36 EDT Received: (from russell@localhost) by ets.cis.brown.edu (8.9.1a/8.9.1) id JAA29091 for krb5-bugs@mit.edu; Thu, 13 May 1999 09:36:44 -0400 (EDT) Message-Id: <199905131336.JAA29091@ets.cis.brown.edu> Date: Thu, 13 May 1999 09:36:43 -0400 (EDT) From: Michael_Russell@Brown.EDU Reply-To: Michael_Russell@Brown.EDU To: krb5-bugs@MIT.EDU Subject: "make check" failure points to wrong problem source >Number: 714 >Category: krb5-build >Synopsis: "make check" failure points to wrong problem source >Confidential: no >Severity: non-critical >Priority: low >Responsible: tlyu >State: open >Class: sw-bug >Submitter-Id: unknown >Arrival-Date: Thu May 13 09:37:01 EDT 1999 >Last-Modified: >Originator: Michael Russell >Organization: brown >Release: 1.0.5 >Environment: System: Sun Ultra-1 Solaris 2.5 Machine: sparc >Description: "make check" fails: making check in tests/resolve... make[2]: Entering directory `/nfs/amanda/local/kerberos5/krb5-1.0.5/solaris2.5/tests/resolve' ./resolve Hostname: nserv.cis.brown.edu Host address: 128.148.176.46 FQDN: nserv Resolve library did not return a fully qualified domain name You may have to reconfigure the kerberos distribution to select a different set of libraries using --with-netlib[=libs] make[2]: *** [check] Error 3 In reality, the problem is not with "--with-netlib" at all, but rather with the fact that the "/etc/hosts" file is set up with the short hostname first: 128.148.176.46 nserv nserv.cis.brown.edu loghost and that the "nsswitch.conf" file is setup as: hosts: files dns I realize that this may be due solely to our local setup, but others may run into it. Simply changing "/etc/hosts" to: 128.148.176.46 nserv.cis.brown.edu nserv loghost solves the problem and "make check" completes successfully. >How-To-Repeat: Setup as stated above. >Fix: 1) Change output to also state that the problem may be due to the setup of the "/etc/hosts" & "/etc/nsswitch.conf" files. 2) Possible fix - change resolve check to use DNS only? 3) Possible fix - change resolve check to handle multiple returned names? >Audit-Trail: >Unformatted: