Bug 30741
Summary: | cryptic "ipcalc: netmask expected" error | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Hunter Matthews <thm> |
Component: | initscripts | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | CC: | 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-06 19:06:33 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
Hunter Matthews
2001-03-06 01:24:08 UTC
You don't have a gateway set. Is that intentional? Yes. Its a local only network, with no connection (not even a modem) to the outside world. What is GATEWAY getting set to in that script? BUGZILLA IS HAVING A BAD DAY. Text has been lost in this bug - twice now I've seen the midair collision error. ----------------------------------------------------------------------------- Bill, in answer to your question of "Is $GATEWAY being set at all?" The answer is no, which is why ipcalc is erroring out - its not seeing two variables like it expects. As a workaround, I can set a fake $GATEWAY, but I still claim thats a bug in the script (not handling a missing var with a most explicit error message). But its not a major bug in any case. That's what's confusing me. The case where there is no $GATEWAY should be caught by the check if [ "$GATEWAY" != "" ... ] Will be fixed in 5.71-1. |