Bug 6825
| Summary: | ifup-aliases script failure | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | byrum |
| Component: | netcfg | Assignee: | Michael K. Johnson <johnsonm> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.1 | ||
| 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: | 1999-11-08 18:51: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: | |||
Sorry about the strange context, I send this also in an email to Bill Nottingham who is in the header of the file as the last person to modify ifup-aliases. |
I noticed your name in the new 6.1 ifup-aliases script. I had problems bring up virtual interfaces and with a little bugging noticed that the following line seemed to be missing. DEVICE="`echo $FILE | sed -e 's/ifcfg\-//'`" I placed this line in the function new_interface(). Just below the assignment line that starts with IPGLOP and above line that starts wtih DEVNUM. Around line 133 in the file. I am not sure if this is where you intended the assignment to be made, but it seems to work correctly. I added the line because at line 156 with the compare of if [ -z "$DEVICE" -o -z "$IPADDR" ]; then echo "error in $FILE: didn't specify device or ipaddr" >&2 ; exit 0 fi $DEVICE is empty and causes script to fail.