Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 186840

Summary: net-misc/dhcpcd-3.0.16 sets wrong client identifier
Product: Gentoo Linux Reporter: Jerry McDonald <gentoo>
Component: Current packagesAssignee: Roy Marples (RETIRED) <uberlord>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Ethereal output showing the actual client identifiers in the hex dumps

Description Jerry McDonald 2007-07-27 20:45:03 UTC
When using the command:

  /sbin/dchpcd -h Atlas -N -I Linux eth0

dhcpcd version 3.0.16-r1 fails to set the client identifier properly.  Ethereal dumps show that the client identifier is set to "eth0" and not "Linux".  Downgrading to dhcpcd version 2.0.5-r1 works correctly, with no modification to the configuration files.

Reproducible: Always

Steps to Reproduce:
1. /etc/conf.d/net is:
config_eth0=( "dhcp" )
dhcpcd_eth0="-N -I Linux"
2. /etc/init.d/net.eth0 start
3. Ethereal dump network traffic on DHCP server.

Actual Results:  
"eth0" is sent as the client identifier.

Expected Results:  
The proper client identifier should be sent.
Comment 1 Jerry McDonald 2007-07-27 20:46:25 UTC
Created attachment 126180 [details]
Ethereal output showing the actual client identifiers in the hex dumps
Comment 2 Roy Marples (RETIRED) gentoo-dev 2007-07-27 21:17:00 UTC
dhcpcd-3.1.1 has the fix.