@patpat; this is no guesswork. Bits can be missed. While you're right as
to the correct value for yiaddr, I believe that you misunderstand how
klibc on the whole works, and how Ubuntu processes work. The status
change was automatic from the package upload.

Was I was getting at before is that the DHCPDISCOVER messages are going
out correctly -- this is why we shouldn't change yiaddr directly in
dhcp_send -- it affects all send operations indiscriminately. And
obviously, the spec is extremely unclear on the expected behavior.

I've re-read the spec, and it looks like klibc only ever does a discover
and request with the dhcp_send() method; so I'll rework the patch to
make this clear and correctly fix the issue.

This is the kind of package in which you really need to know what you're
doing when making changes. dhcp_send_discover() was doing the right
thing for yiaddr: it sets dev->ip_addr = INADDR_ANY; which value will
get copied in yiaddr in dhcp_send(), "as it should", except that's only
good for dhcp_discover. dhcp_send_request() also needs to keep track of
dev->ip_addr, and shouldn't overwrite it, but still ought to send with
yiaddr set to INADDR_ANY.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1327412

Title:
  Delay during PXE Boot, IP-Config gives up

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/klibc/+bug/1327412/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to