[3072] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

krb5-build/714: "make check" failure points to wrong problem source

daemon@ATHENA.MIT.EDU (Michael_Russell@Brown.EDU)
Thu May 13 09:37:18 1999

Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: tlyu@MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU, Michael_Russell@Brown.EDU
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


>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:
<machine, os, target, libraries (multiple lines)>
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:

home help back first fref pref prev next nref lref last post