Bug 31786

Summary: possible error in ifup-routes
Product: [Retired] Red Hat Raw Hide Reporter: Gerald Teschl <gt>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-03-14 17:52:21 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 Gerald Teschl 2001-03-14 17:49:45 UTC
while tracing some other errors I had a look at ifup-routes and I think
there is an error:

--- ifup-routes.orig    Mon Mar  5 21:32:23 2001
+++ ifup-routes Tue Mar 13 23:07:13 2001
@@ -14,6 +14,7 @@
        exit 0
 fi
 
+DEVICE=$1
 #note the trailing space in the grep gets rid of aliases
 grep "^$DEVICE " /etc/sysconfig/static-routes | while read device args; do
        /sbin/route add -$args $device

Comment 1 Bill Nottingham 2001-03-14 17:52:17 UTC
Fixed in 5.77-1.