Bug 55684

Summary: ipppd ms-dns with $DNS2 set
Product: [Retired] Red Hat Linux Reporter: Thimo E <thimo.e>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-11-04 21:58:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Thimo E 2001-11-04 21:58:26 UTC
Description of problem:
When setting DNS1 AND DNS2 in the configfile, ifup-ippp passes "ms-dns 
$DNS1 $DNS2" to the ipppd but the daemon needs "ms-dns $DNS1 ms-dns $DNS2".

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Enter DNS1 and DNS2 in the configfile
2.
3.
	

Additional info:

Fix:
 --- ifup-ippp.~~~       Sun Nov  4 22:55:46 2001
+++ ifup-ippp   Sun Nov  4 22:48:55 2001
@@ -311,7 +311,10 @@
     if [ -z "$DNS1" -a -z "$DNS2" ]; then
         options="$options ms-get-dns"
     else
-        options="$options ms-dns $DNS1 $DNS2"
+        options="$options ms-dns $DNS1"
+       if [ -n "$DNS2" ]; then
+           options="$options ms-dns $DNS2"
+       fi
     fi

Comment 1 Bill Nottingham 2002-01-25 05:33:35 UTC
This should be fixed in 6.50-1, at least.