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
Thanks for pointing me in the right direction.
I wasn't sure it required a bug report since it's not really a bug but
maybe more of a feature request ?
Here is the bug report link:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069897
Thanks again
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 environ
That's great, thank you for your fast response/fix.
Just need to update netcfg now. Should I create a new post on the mailing
list ?
After looking at this a bit more closely , it seems that netcfg is calling
udhcpc with limited set options. see here:
https://salsa.debian.org/installer-team/netcfg/-/blob/master/dhcp.c#L38
We would just need to add "search" to this list of options and update the
/etc/udhcpc/default.default.scrip
Hi,
During the installation process, debian installer runs udhcpc to get the
dhcp lease and populate the resolv.conf file.
The /etc/udhcpc/default.script that runs at the end of an udhcpc call does
the following to populate the search domain in /etc/resolv.conf:
echo search $domain >> $cfg
This se
6 matches
Mail list logo