Skip to content
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

properly detect dhclient #262

Merged
merged 1 commit into from
Feb 25, 2024
Merged

properly detect dhclient #262

merged 1 commit into from
Feb 25, 2024

Conversation

anarcat
Copy link
Contributor

@anarcat anarcat commented Jan 19, 2023

We make the call here that dhclient should be detected, if not properly restarted. We try to workaround the problem that restarts fail or destroy the network by adding ifupdown to the long list of services that cannot be restarted.

We've been running an equivalent configuration in production at the Tor Project over about 100 Debian machines running Debian buster and bullseye for months without negative issues.

Closes: #225

We make the call here that dhclient should be *detected*, if not
properly restarted. We try to workaround the problem that restarts
fail or destroy the network by adding ifupdown to the long list of
services that cannot be restarted.

We've been running an equivalent configuration in production at the
Tor Project over about 100 Debian machines running Debian buster and
bullseye for months without negative issues.

Closes: liske#225
@liske
Copy link
Owner

liske commented May 26, 2023

Thanks for the suggestion. I wonder if there might be other setups (i.e. network-manager using dhclient?) which could result in a regression.

@liske liske added this to the v3.7 milestone May 26, 2023
@anarcat
Copy link
Contributor Author

anarcat commented May 29, 2023

well NetworkManager is already listed in the ignore list here, so the point of this PR is really to unify the way we block such cases, to remove the "ifup special case" that seems to be why we don't process dhclient normally.

@anarcat
Copy link
Contributor Author

anarcat commented Nov 21, 2023

any reason this is not merged? can i help?

@liske liske merged commit dd5169d into liske:master Feb 25, 2024
@liske
Copy link
Owner

liske commented Feb 25, 2024

Thanks! Sadly I was very busy.

@anarcat anarcat deleted the detect-dhclient branch February 26, 2024 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

should detect dhclient
2 participants