-
-
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
Add option to make dhcpcd non-blocking #50930
Comments
I am not opposed to introducing this option, and it seems Arch Linux does this by default. |
In the last few days, I've done a bit more research, and I now think the problem here is actually about unit ordering. I think it makes sense for I've solved this locally by adding So essentially it seems to me like
I believe the correct fix here is:
If some of you lovely more experienced nixos contributors can weigh in and let me know if this plan sounds right (and help me track down whatever is enforcing that |
This has been discussed in #44524 already |
I think what should be done is actually |
@balsoft dhcpcd(8):
|
Looks like this is a dupe of the (now closed) #60900 |
Issue description
dhcpcd
has the-b
option as an alternative to-w
to make it go into the background immediately, without waiting until an IP address is resolved. I was surprised to notice that the dhcpcd module doesn't offer any option to use-b
instead of-w
. This results in my user sessions having to wait until dhcpd has received an IP before they can start, causing my startup to take much longer than it would otherwise.I'd be happy to submit a PR to add the option, but I was quite surprised it didn't already exist and thought it might have been intentional, so I figured I'd open a ticket to discuss first. Is there a better way to solve this problem? Would this be an acceptable change?
Steps to reproduce
Erm...
Technical details
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste theresults.
The text was updated successfully, but these errors were encountered: