Bug 983325
Summary: | NetworkManager does not add route for dhcp server | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Scott Shambarger <scott-fedora> | ||||||||
Component: | NetworkManager | Assignee: | Dan Williams <dcbw> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | medium | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 20 | CC: | dcbw, thaller | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | NetworkManager-0.9.9.0-27.git20131003.fc20 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2014-01-30 03:41:14 UTC | Type: | Bug | ||||||||
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
Scott Shambarger
2013-07-11 00:59:22 UTC
NOTE: to clarify, this bug will only be visible if the interface is NOT the default route (ie. ifcfg-<interface> with DEFROUTE=no). The bug will cause the address on the interface to eventually expire, and cause the connection to reset (killing all open connections, very annoying especially if you're almost done with your 2G download :). This message is a reminder that Fedora 18 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 18. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '18'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 18's end of life. Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 18 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 18's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Checked against NetworkManager-0.9.9.0-22.git20131003.fc20, and the problem still exists. Changing to F20 As a clarification on the original bug, the routing entry should actually be created for the dhcp-server-identifier (69.252.97.6 in the description above)... the logged "DHCPACK from 96.147.132.1" is actually the relay agent, and doesn't need a routing entry. Created attachment 846878 [details]
Patch to add route for dhcp4-server if needed
I've created a patch to add a host routing entry for the dhcp4 server if it's not on the local subnet. I've tested this on my server, and it works as expected.
I'm not sure if this makes sense to add for dhcp6 as well, but I can provide a patch for that too easily enough :).
I guess the next step is to log an upstream bug as well, and post the patch against git there.
Filed upstream bug. Created attachment 847421 [details]
Updated patch with comment
Added rationale for the route in a comment... as requested by upstream.
Created attachment 847935 [details]
Latest upstream patch with better logging and device route if no gateway
Upstream bug resolved with commit http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=31fe84e467732463eabc8f70c2a419008e7a227c . Currently there is no F20 package yet available with this change. NetworkManager-0.9.9.0-27.git20131003.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/NetworkManager-0.9.9.0-27.git20131003.fc20 Package NetworkManager-0.9.9.0-27.git20131003.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing NetworkManager-0.9.9.0-27.git20131003.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-1733/NetworkManager-0.9.9.0-27.git20131003.fc20 then log in and leave karma (feedback). NetworkManager-0.9.9.0-27.git20131003.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. Note that there is discussion to revert the patch of this bug. See https://bugzilla.redhat.com/show_bug.cgi?id=1448987#c4 Note that bug 1448987 basically reverted this change: https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=36e97f5d7beba7ab5446c2b7c6c22523b1bca476 |