Subject: Re: pkg/33349: graphics/Coin break solaris hostname
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Klaus Heinz <k.heinz.apr.sechs@onlinehome.de>
List: pkgsrc-bugs
Date: 04/25/2006 09:00:05
The following reply was made to PR pkg/33349; it has been noted by GNATS.

From: Klaus Heinz <k.heinz.apr.sechs@onlinehome.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/33349: graphics/Coin break solaris hostname
Date: Tue, 25 Apr 2006 10:56:26 +0200

 Gilles Dauphin wrote:
 
 > -case `hostname -d 2>/dev/null || domainname 2>/dev/null || hostname` in
 > +case `domainname 2>/dev/null || hostname` in
 
 Without knowing the package, I suppose it is interested in the DNS
 domain of the machine. The command "domainname" deals with NIS/YP
 domains and also LDAP, nowadays. Those domain names are not necessarily
 connected to the DNS domain.
 
 I think it is wrong to use domainname here, but on the other hand I
 think there is no canonical way to determine the DNS domain.
 
 ciao
      Klaus