NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: install/21052 (sysinst adds duplicate entry to /etc/hosts)



The following reply was made to PR install/21052; it has been noted by GNATS.

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: install-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
        netbsd-bugs%netbsd.org@localhost, bpstark%pacbell.net@localhost, 
reed%reedmedia.net@localhost
Subject: Re: install/21052 (sysinst adds duplicate entry to /etc/hosts)
Date: Sun, 13 Apr 2008 00:53:38 +0000

 On Thu, Apr 10, 2008 at 03:40:05PM +0000, Jeremy C. Reed wrote:
  >  Actually, this "localhost" issue from April 2003 disappeared in November 
  >  2003 per commit for PR #21999. It no longer adds the line:
  >  
  >  127.0.0.1               localhost
  >  
  >  But does localhost.$domain:
  >  
  >      if (net_domain[0] != '\0')
  >              scripting_fprintf(f, "127.0.0.1 localhost.%s\n", net_domain)
  >  
  >  It still adss the custom entry but not for "localhost".
  >  
  >  I think this PR can be closed.
 
 Hmm. Yeah, probably. Although ideally it wouldn't add this if it
 already exists.
 
  >  Also for later sysinst updates -- don't 
  >  choose to allow the network configs to be chosen. Should sysinst choose 
  >  that? Or allow admin to make choice?
 
 I'm not sure. When updating, does it get the network config out of
 /etc? Believe it or not, I've never done an update with sysinst.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index