[pkg-dhcp-devel] Old DHCP patch to exit 2 if binding fails
apollock at debian.org
Mon Jul 13 04:10:11 UTC 2009
I'm in the process of preparing ISC DHCP 4.1 packages for Debian, and I'm
reviewing all of the patches.
The first one I've happened upon is one that looks like it came from you,
without a bug, and I'm just trying to understand the rationale behind it
while I decide whether or not to reapply it to the 4.1 sources, and whether
it should go upstream or not.
The relevant debian/changelog entry says:
- Use exit status 2, rather than 1, to indicate that binding failed, so that
unrelated errors do not result in DHCPDECLINE (your ISP will thank you)
Why will my ISP thank me? Because an exit status of 1 from dhclient-script
(I'm failing to see where this could eventuate at the moment) won't decline
a lease? Why would my ISP care? Surely a non-zero result from
dhclient-script means something is afoot?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the pkg-dhcp-devel