Bug 29500

Summary: Static routes for aliased interfaces in RH7.0 no longer work
Product: [Retired] Red Hat Linux Reporter: John Bass <jbass>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: chris, dr, 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-05 10:34:32 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:
Attachments:
Description Flags
Patch to /etc/sysconfig/network-scripts/ifup-aliases to correct static routes none

Description John Bass 2001-02-26 02:34:24 UTC
After upgrading from RH6.x to RH7.0 static routes for aliased interfaces
are no longer applied at boot time, or when the interfaces are manually
started/stopped with ifup/ifdown.

Comment 1 chris 2001-03-05 10:33:06 UTC
This seems to be caused by a bug in /etc/sysconfig/network-scripts/ifup-aliases
which looks for static routes via the parent interface instead of the aliased
one.  I think the attached patch fixes.

Comment 2 chris 2001-03-05 10:34:24 UTC
Created attachment 11782 [details]
Patch to /etc/sysconfig/network-scripts/ifup-aliases to correct static routes

Comment 3 Bill Nottingham 2001-03-05 17:27:31 UTC
Will be fixed in 5.70-1; thanks!

Comment 4 chris 2001-05-22 09:20:03 UTC
It looks like this still hasn't been fixed in the initscripts-5.83-1 which comes
with RH7.1, or the initscripts-5.86-1 currently in RawHide.

Thanks,
Chris.

Comment 5 Bill Nottingham 2001-05-22 20:19:19 UTC
In what way?  The code is changed as described above.

Do note, support for *incorrectly formed* static route entries
(as linuxconf has generated in the past) was dropped.

Comment 6 chris 2001-05-23 09:00:01 UTC
No, it isn't.  In 5.83-1, line 278 of ifup-aliases says:

  grep "^$1 " /etc/sysconfig/static-routes | while read device args; do

It hasn't been patched.  If it had, it would say:

  grep "^$DEVICE " /etc/sysconfig/static-routes | while read device args; do

Comment 7 Bill Nottingham 2001-05-23 14:17:29 UTC
Aack, you're right. Sorry about that.
This will get fixed in 5.88-1.