Bug 69355

Summary: No netmask is passed to ipppd
Product: [Retired] Red Hat Linux Reporter: Florian Schirmer <schirmer>
Component: initscriptsAssignee: Than Ngo <than>
Status: CLOSED RAWHIDE QA Contact: Aaron Brown <abrown>
Severity: low Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: Milan BLOCKER
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-07-22 15:25:28 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:
Bug Depends On:    
Bug Blocks: 67217    

Description Florian Schirmer 2002-07-22 09:44:01 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)

Description of problem:
ifup-ippp does not pass the netmask (if set) to ipppd. This results in an 
incorrect netmask if the device is connected (or was connected before).

This is a bug in initscripts (because ifup-ippp is located there), but i did 
file this bug here, because the maintainer of ifup-ippp is probably the same as 
for isdn4k-util. If not please reassign.

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


How reproducible:
Always

Steps to Reproduce:
1. <Set netmask>
2. <Connect>
3. route
	

Actual Results:  Netmask is not as defined in the ifcfg-ippp? file

Expected Results:  Netmask as defined in the ifcfg-ippp? file

Additional info:

Following patch fixes the problem:

--- ifup-ippp-old       Mon Jul 22 11:41:34 2002
+++ ifup-ippp   Fri Jul 19 10:02:14 2002
@@ -322,7 +322,7 @@
     if [ "$ENCAP" = "syncppp" ]; then
         # start ipppd daemon
         logger -p daemon.info -t ifup-ippp "ipppd $options"
-        ipppd $options >/dev/null 2>&1
+        ipppd $options $netmask >/dev/null 2>&1

         # start ibod daemon
         [ "$BUNDLING" = "yes" -o "$BUNDLING" = "on" ] && [ -
n "$SLAVE_DEVICE" ] && start_ibod $DEVICE

Comment 1 Ngo Than 2002-07-25 21:47:04 UTC
you have right. It's a bug here. It's fixed in initscript-6.89-1