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

Bug#27062: marked as done (dinstall should default to other host being DNS, not self)



Your message dated 27 Jan 1999 17:36:15 -0500
with message-id <oaiuds5oo0.fsf@burrito.fake>
and subject line bugs closed in boot-floppies ver 2.1.5
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Ian Jackson
(administrator, Debian bugs database)

Received: (at submit) by bugs.debian.org; 25 Sep 1998 02:30:46 +0000
Received: (qmail 4195 invoked from network); 25 Sep 1998 02:30:45 -0000
Received: from gilgamesh.cse.ucsc.edu (ben@128.114.49.60)
  by master.debian.org with SMTP; 25 Sep 1998 02:30:45 -0000
Received: (from ben@localhost) by gilgamesh.cse.ucsc.edu (8.9.0/8.6.12) id TAA07875; Thu, 24 Sep 1998 19:30:44 -0700
Sender: ben@cse.ucsc.edu
To: submit@bugs.debian.org
Subject: dinstall should default to other host being DNS, not self
X-Face: -eDkx0I[vNsajBStK^((#;s#wZr+;?Up|;+Zw5JOl]'fINagA)&i4=$2WI'z4U!h0>;A3ON
 RW{7<n^q2ZN?'5kU;qyM@jjhm4T8@O>o6imB12xD.pSBhFoqTuF{>b9[K[R\0h=c]Yy6h_R"=Ogv~9
 EsgE,9_6?%yFG'C6'L#JBw%9R*]UqA=|&CCMPsas#<U/%IY{*Q_"%\_4K8UXb0RC@MYR1u?HcjmyMy
 4Oji?i':(}%$
From: Ben Gertzfield <che@debian.org>
Date: 24 Sep 1998 19:30:44 -0700
Message-ID: <ytt90j8exez.fsf@gilgamesh.cse.ucsc.edu>
Lines: 53
X-Mailer: Gnus v5.6.27/XEmacs 20.4 - "Emerald"

Package: boot-floppies
Version: 2.0.11
Severity: wishlist

Here's another problem that's bugged me to no end: the default entry
in dinstall for choosing one's DNS server has always defaulted to the
localhost being the DNS server. This is pretty ridiculous; 99.9% of
the machines Debian will be installed on will never be running BIND.

Here's a patch to make remote DNS be the default prompt in dinstall.

--- netconfig.c.orig	Thu Sep 24 19:27:04 1998
+++ netconfig.c	Thu Sep 24 19:27:18 1998
@@ -379,10 +379,10 @@
    */
   opt=calloc(3,sizeof(struct d_choices));
   opt[0].string=strdup("1");
-  snprintf(prtbuf,PRTBUFSIZE,MSG_OWN_DNS,host);
+  snprintf(prtbuf,PRTBUFSIZE,MSG_ANOTHER_DNS,host);
   opt[0].tag=strdup(prtbuf);
   opt[1].string=strdup("2");
-  snprintf(prtbuf,PRTBUFSIZE,MSG_ANOTHER_DNS,host);
+  snprintf(prtbuf,PRTBUFSIZE,MSG_OWN_DNS,host);
   opt[1].tag=strdup(prtbuf);
   opt[2].string=strdup("3");
   opt[2].tag=strdup(MSG_NO_DNS);
@@ -390,9 +390,6 @@
   switch(rs)
     {
     case 0:
-      nameserver=strdup("127.0.0.1");
-      break;
-    case 1:
       if(addr)
 	free(addr);
       addr=(nameserver==NULL)?IPtoa(gateway):strdup(nameserver);
@@ -407,6 +404,9 @@
             break;
 	}
       nameserver=strdup(addr);
+      break;
+    case 1:
+      nameserver=strdup("127.0.0.1");
       break;
     case 2:
       nameserver=strdup("none");


-- 
Brought to you by the letters U and G and the number 7.
"What's your order? I can SuperSize that." -- TMBG
Debian GNU/Linux -- where do you want to go tomorrow? http://www.debian.org/
I'm on FurryMUCK as Che, and EFNet and YiffNet IRC as Che_Fox.


Reply to: