Bug#1069897: Netcfg to get search domain

2024-05-03 Thread Frédéric Guyot
This will require a bit more work than anticipated. The patch posted above will only do half of the job. netcfg will call udhcp with the "-O search" option added which will update /etc/resolv.conf with the correct search domain values assuming that the patch for /etc/udhcpc/default.script is also

Bug#1069897: Netcfg to get search domain

2024-05-01 Thread Frédéric Guyot
Here is a proposed patch: diff -Naur netcfg-master/dhcp.c netcfg-master-updated/dhcp.c --- netcfg-master/dhcp.c 2024-05-01 11:14:26.209026580 +0100 +++ netcfg-master-updated/dhcp.c 2024-05-01 11:15:11.888387848 +0100 @@ -41,6 +41,7 @@ "domain",

Bug#1069897: Netcfg to get search domain

2024-04-26 Thread Frédéric Guyot
Package: netcfg Version: 1.187 As explained in this thread: https://lists.debian.org/debian-boot/2024/04/msg00061.html , netcfg doesn't read the search domain property sent by dhcp to make it available to udhcpc and fill /etc/resolv.conf + lease file properly. This setup doesn't work in an