NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.45k stars 13.65k forks source link

dhcpcd: fails to acquire an IPv4 address #283628

Open deepfire opened 7 months ago

deepfire commented 7 months ago

Describe the bug

This is tracked upstream: https://github.com/NetworkConfiguration/dhcpcd/issues/291

Steps To Reproduce

Steps to reproduce the behavior:

  1. networking.interfaces.enp1s0.useDHCP = true;

Expected behavior

dhcpcd should acquire the DHCP lease from the server.

Notify maintainers

@edolstra

Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.11-hardened1, NixOS, 24.05 (Uakari), 24.05.git.2a7d0d9fe220`
 - multi-user?: `no`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a :+1: reaction to issues you find important.

deepfire commented 7 months ago

cc @jiegec

jiegec commented 7 months ago

Could you test if the latest release of dhcpcd works?

deepfire commented 7 months ago

Turned out, the issue I have originally referred was unrelated -- filed a new one: https://github.com/NetworkConfiguration/dhcpcd/issues/291

deepfire commented 7 months ago

Trying out https://github.com/NixOS/nixpkgs/pull/284123 as a fix.

yorickvP commented 3 months ago

Hitting this on 24.05