-
-
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
nixos/geoipupdate: Replace the old geoip-updater
module
#121145
Conversation
after = [ "network-online.target" "nss-lookup.target" ]; | ||
wants = [ "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.
Does the program retry when no network is available?
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'm not sure. There is a configuration parameter for how long it should retry for on HTTP errors, but it might just give up if there's no network at all.
Our old bespoke GeoIP updater doesn't seem to be working anymore. Instead of trying to fix it, replace it with the official updater from MaxMind.
I'll merge this now - it feels rather uncontroversial and we're far from next stable, so there's plenty of time to address potential issues. |
Motivation for this change
Our old bespoke GeoIP updater doesn't seem to be working anymore. Instead of trying to fix it, let's replace it with the official updater from MaxMind.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)