Skip to content

Fix Nix build configuration and DHCPv6 initialization timeouts#111

Open
poelzi wants to merge 2 commits intoironcore-dev:masterfrom
poelzi:pr/nix-dhcp-fix-v2
Open

Fix Nix build configuration and DHCPv6 initialization timeouts#111
poelzi wants to merge 2 commits intoironcore-dev:masterfrom
poelzi:pr/nix-dhcp-fix-v2

Conversation

@poelzi
Copy link

@poelzi poelzi commented Feb 15, 2026

Summary

  • restore and modernize Nix flake packaging files (flake.nix, nix/*.nix) for FeOS build/check workflows and passt-based VM networking
  • harden DHCPv6 initialization by adding timeout handling around router advertisement detection to avoid indefinite blocking
  • add timeout handling for DHCPv6 client execution in network setup so startup continues safely when DHCPv6 is unresponsive

Notes

  • branch intentionally excludes CI workflow file changes to avoid OAuth workflow-scope push restrictions in this environment

- Wrap is_dhcpv6_needed() in a channel-based 20s timeout to prevent
  infinite blocking on Router Advertisement wait (pnet AF_PACKET sockets
  don't support read_timeout on Linux)
- Wrap run_dhcpv6_client() in tokio::time::timeout(30s) to prevent
  infinite blocking when DHCPv6 server is unavailable
- Boot now continues gracefully when no IPv6 infrastructure is present
@hardikdr hardikdr added the area/operatingsystem Operating system-related concerns. label Feb 15, 2026
@hardikdr hardikdr added this to Roadmap Feb 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/operatingsystem Operating system-related concerns.

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants