summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver/default.nix
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2025-01-04 22:10:01 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2025-01-06 18:07:52 +0100
commitcc5645c6e01a1d9b54ffe6c17a828b5b9d60a0e8 (patch)
tree2ac68b1ae0f4aa77748239d5314370d2106d29d0 /pkgs/development/python-modules/rangehttpserver/default.nix
parent6dd85fe299629dc36a855a601124994bac062e03 (diff)
nixos/dhcpcd: fix updating resolv.conf when using systemd-resolved
Fix the regression between NixOS 24.05 and 24.11 where using dhcpcd (e.g. networking.useDHCP) and systemd-resolved (services.resolved.enable) result in no "search" entry getting added to /etc/resolv.conf, and dhcpcd logging the following error: $ systemctl status dhcpcd [...] dhcpcd[2896]: Failed to set DNS configuration: Interactive authentication required. Fix it by adding a polkit rule that gives the required permissions to the 'dhcpcd' user to manipulate resolved. The rule was made by using polkit logging and allowing each action.id until the above error went away, and /etc/resolv.conf got the correct search entry.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver/default.nix')
0 files changed, 0 insertions, 0 deletions