Description of problem: Interfaces with a 31 bit netmask (255.255.255.254) has no network address or broadcast address, so there needs to be a additional check when deriving the network and the broadcast in network-functions in expand_config(). Linux support these point-to-point interfaces fine, and so should fedora. I've attached a patch to fix this, the patch does not include a patch for setting of ${NETWORK}, but that one should probably be fixed in the same manner. Version-Release number of selected component (if applicable): initscripts-8.20-1 How reproducible: always Steps to Reproduce: 1. set a netmask of 255.255.255.254 on a interface 2. ifup eth0 3. Actual results: broadcast is chosen as the highest address in the range and replaces on of the ends of the point-to-point link. Expected results: No broadcast should be defined when setting the interface for /31 itnerfaces Additional info:
Created attachment 123244 [details] Patch to add check for netmask-length when deriving ${BROADCAST} in network-functions
Created attachment 123274 [details] better patch, fixing bug and also handling ${NETWORK}
Based on the date this bug was created, it appears to have been reported against rawhide during the development of a Fedora release that is no longer maintained. In order to refocus our efforts as a project we are flagging all of the open bugs for releases which are no longer maintained. If this bug remains in NEEDINFO thirty (30) days from now, we will automatically close it. If you can reproduce this bug in a maintained Fedora version (7, 8, or rawhide), please change this bug to the respective version and change the status to ASSIGNED. (If you're unable to change the bug's version or status, add a comment to the bug and someone will change it for you.) Thanks for your help, and we apologize again that we haven't handled these issues to this point. The process we're following is outlined here: http://fedoraproject.org/wiki/BugZappers/F9CleanUp We will be following the process here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this doesn't happen again.
This bug has been in NEEDINFO for more than 30 days since feedback was first requested. As a result we are closing it. If you can reproduce this bug in the future against a maintained Fedora version please feel free to reopen it against that version. The process we're following is outlined here: http://fedoraproject.org/wiki/BugZappers/F9CleanUp