Bug 29500
| Summary: | Static routes for aliased interfaces in RH7.0 no longer work | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | John Bass <jbass> | ||||
| Component: | initscripts | Assignee: | Bill Nottingham <notting> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 7.0 | CC: | 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
John Bass
2001-02-26 02:34:24 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. Created attachment 11782 [details]
Patch to /etc/sysconfig/network-scripts/ifup-aliases to correct static routes
Will be fixed in 5.70-1; thanks! 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. 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. 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 Aack, you're right. Sorry about that. This will get fixed in 5.88-1. |