New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
networking.vlans fails to bring up interfaces at boot (RTNETLINK answers: Network is down) #28620
Comments
Thanks! I can confirm this fixed the issue. |
Awesome! Thanks for testing! |
I am still experiencing this issue. I have a fairly complex networking setup with several vlan interfaces attached to a single physical interface. More often than not the system fails to bring up some of the vlan interfaces. It seems as if it tries to bring up the vlan interface before the physical interface is completely up and running. This is what it often looks like in the journal:
The complete nixos configuration for a system with this issue can be found here: https://github.com/jemilsson/nixos-configuration/blob/master/machines/brody/configuration.nix. I am running NixOS 18.03.132748.68e02f8ff21 (Impala) on a physical machine. I would be happy to assist in troubleshooting this issue. |
I too am having issues once more on 18.03, booting with VLAN interfaces is very unreliable. I have not taken the time to look into it but I can also try to assist. |
@fpletz Could you perhaps reopen this issue, or would it be better to create a new one? |
I'm experiencing random failure during boot on NixOS 18.03 |
The issue is intermittent for me, so it's difficult to say for sure. I can reboot 5 times in a row successfully and then fail 3 times in a row, which is roughly what happened when I tried to reproduce this now. With #44347 applied to NixOS 18.03 it worked every time, when rebooting about 10 times... today anyway. Rolling back pre-patch I got it to fail again after just a couple of attempts. |
Given all the hassle with our networking scripts, should we enable the networkd backend for the |
@Mic92 I'm currently working on making that a reality for 18.09. |
Issue description
VLAN interfaces created by networking.vlans no longer works properly after a reboot. The VLAN interface service fails with the error "RTNETLINK answers: Network is down". This is a regression from NixOS 17.03. I don't know when this functionality broke.
Steps to reproduce
The following was reproduced in a VM with a single interface named "ens32".
The same issue is present on different hardware.
Added to configuration.nix:
When switching to this config, the interface "testvlan" comes up.
After rebooting the interface is not created (when it should be):
Starting the service manually after having booted gets the interface up.
Technical details
The text was updated successfully, but these errors were encountered: