In sys-apps/baselayout-1.12.0_pre11-r3 /lib/rcscripts/net.modules.d/dhcpcd doesn't honour the dhcp_* options in /ect/conf.d/net. For example it sends the hostname even if dhcp_eth0="nosendhost". Reproducible: Always Steps to Reproduce: 1. Add config_eth0=( "dhcp" ) and dhcp_eth0="nosendhost" to /etc/conf.d/net. 2. /etc/init.d/net.eth0 start 3. Notice that dhcpcd has "-h hostname" in its command line. Actual Results: The hostname is sent to the dhcp server. Expected Results: There should have been no "-h hostname" used. A fix for this is to insert the line 'd="${!d}"' below line 93 of /lib/rcscripts/net.modules.d/dhcpcd. Patch attached.
Created attachment 74092 [details, diff] Proposed patch against /lib/rcscripts/net.modules.d/dhcpcd.
Created attachment 74102 [details, diff] Fixes all dhcp clients This patch should fix all dhcp clients
Fixed in baselayout-1.12.0_pre12