-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
tailscaled: after NetworkManager-wait-online #344678
Conversation
Please squash the two commits; it's one logical change. |
The wait will only be enabled on machines with NetworkManager enabled. Closes NixOS#180175
Done |
Or just use |
It's specifically to do with NetworkManager. It should still happen before the network-online.target. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the only good way to test this is to have it land in unstable and thereby hit people's weird systems.
Nobody has been able to repro the issue with this hacked into their config as of yet, so I think this might actually work around the issue.
FWIW I tried to reproduce the real issue yesterday night without any hacks, and I couldn't (but think because it wasn't restarting network manager on activation). |
This does seem to be the root cause. I've experienced it personally as well for probably over a year now (so I'm extremely happy to see this 😄) |
I don't think anyone has been able to reliably reproduce this issue before, it really is something you just need to wait out a few days~a week to trigger. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the only good way to test this is to have it land in unstable and thereby hit people's weird systems.
👍
Successfully created backport PR for |
Description of changes
Follow up on #180175 - it was suggested to add this to the Tailscale module to fix the problem for 99% users.
Stuff I didn't think about: is NetworkManager-wait-online.service on every nixos installation, and what would happen if it wasn't the case?Closes #180175
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.