Bug 1365915
Summary: | systemd-networkd misconfigures routing table when restarted | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michael Chapman <redhat-bugzilla> | ||||
Component: | systemd | Assignee: | systemd-maint | ||||
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 24 | CC: | johannbg, lnykryn, msekleta, muadda, ssahani, s, systemd-maint, zbyszek | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | systemd-229-12.fc24 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2017-08-08 16:23:02 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
Michael Chapman
2016-08-10 13:31:26 UTC
This was fixed upstream here https://github.com/systemd/systemd/issues/3352 Zbigniew does systemd-229-11.fc24 fix this as well or do you need to backport it and do another build? Blimey. I fired of a rebuild. (In reply to Zbigniew Jędrzejewski-Szmek from comment #2) > Blimey. I fired of a rebuild. Sorry about that. Only just noticed the problem when testing your previous build. :-) systemd-229-12.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-10e709e870 systemd-229-12.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-10e709e870 systemd-229-12.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-10e709e870 So I think there might be a *different* bug causing the same symptoms. With the -12 package, restarting systemd-networkd works correctly only about half of the time. The other times the default route is missing. Some kind of timing issue perhaps? I'm certainly not getting the "Could not drop address: No such process" error any more though. systemd-229-12.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. Created attachment 1192049 [details] networkd: do not add route for zero-lifetime RAs So I've tracked down the cause of this problem. My network has an IPv6 router, but it is not a *default* router. It periodically sends out router advertisements with lifetime=0sec. (This is compliant with RFC 2461.) F24 networkd creates and immediately expires a route for the router. This can happen while the link is being configured -- that is, before it's finished adding all static addresses and routes to the link. The route_expire_callback function uses the same "pending netlink messages" counter as the link configuration... it is possible for this counter to hit zero in route_expire_callback, and the link configuration state machine won't notice. The end result is that the link may not reach the "adding static routes" step. This is not actually a bug in upstream systemd, as the networkd code was largely refactored after F24's version. Nevertheless, I did find a few other problems with the code current systemd HEAD -- I've sent those upstream at https://github.com/systemd/systemd/pull/3990. For F24 I think we really need the second patch in that series ("networkd: do not touch link_messages when expiring routes"). I also think we need the attached patch, which ensures networkd does not even *attempt* to set up a default route for an IPv6 route advertisement with lifetime=0sec. Ping? (I don't mind that it got missed out in the latest systemd updates, what with more important bugfixes going in... but it is a tad annoying having to rebuild my own packages each time. :-p ) Polite ping? This message is a reminder that Fedora 24 is nearing its end of life. Approximately 2 (two) weeks from now Fedora will stop maintaining and issuing updates for Fedora 24. 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 EOL if it remains open with a Fedora 'version' of '24'. 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. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 24 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 this bug is closed as described in the policy above. 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. Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |