Files
Drew Newberry be4e22b66c fix(gateway): use static guest IP and redirect child stderr to console log
Root cause of readyz timeout: gvproxy DHCP assigns guest IPs
nondeterministically (.2 or .3 depending on timing), but port
forwarding was hardcoded to .3. When the guest got .2, the health
check polled the wrong IP for 120s.

Fix: vm-init.sh now assigns 192.168.127.2 statically instead of using
DHCP. The CLI guest_ip constant matches. This eliminates the race.

Also fixes libkrun VMM warnings (virtio-fs passthrough symlink errors)
appearing on the parent terminal — fork_start() now redirects the
child's stderr to the console log file via dup2(). The warnings are
from macOS symlink resolution limits on Kubernetes ConfigMap mounts
and are non-fatal.

vm-init.sh is now always updated in the cached rootfs on every boot
(not just during initial extraction), so networking fixes take effect
without requiring rootfs re-extraction.
2026-03-03 10:55:43 -08:00
..