Skip to navigation

Bug Fix Advisory dhcp bug fix and enhancement update

Advisory: RHBA-2012:0793-2
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2012-06-20
Last updated on: 2012-06-20
Affected Products: Red Hat Enterprise Linux Desktop (v. 6)
Red Hat Enterprise Linux HPC Node (v. 6)
Red Hat Enterprise Linux Server (v. 6)
Red Hat Enterprise Linux Workstation (v. 6)

Details

Updated dhcp packages that fix several bugs and add two enhancements are now
available for Red Hat Enterprise Linux 6.

The dhcp package provides software to support the Dynamic Host Configuration
Protocol (DHCP) and DHCPv6 protocol. The Dynamic Host Configuration Protocol
(DHCP) is a protocol that allows individual devices on an IP network to obtain
their own network configuration information, including an IP address, a subnet
mask, and a broadcast address.

This update fixes the following bugs:

* Previously, when dhclient was unsuccessful in obtaining or renewing an
address, it restored the resolv.conf file from backup even when there were other
dhclient processes running. Consequently, network traffic could be unnecessarily
interrupted. The bug in dhclient-script has been fixed and dhclient now restores
resolv.conf from backup only if there are no other dhclient processes running.
(BZ#656339)

* A bug caused an infinite loop in a dhcpd process when dhcpd tried to parse the
slp-service-scope option in dhcpd.conf. As a consequence, dhcpd entered an
infinite loop on startup consuming 100% of the CPU cycles. This update improves
the code and the problem no longer occurs. (BZ#747017)

* Previously, the DHCPv4 client did not check whether the address received in a
DHCPACK message was already in use. As a consequence, it was possible that after
a reboot two clients could have the same, conflicting, IP address. With this
update, the bug has been fixed and DHCPv4 client now performs duplicate address
detection (DAD) and sends a DHCPDECLINE message if the address received in
DHCPACK is already in use, as per RFC 2131. (BZ#752116)

* When dhclient is invoked with the "-1" command-line option, it should try to
get a lease once and on failure exit with status code 2. Previously, when
dhclient was invoked with the "-1" command-line option, and then issued a
DHCPDECLINE message, it continued in trying to obtain a lease. With this update,
the dhclient code has been fixed. As a result, dhclient stops trying to obtain a
lease and exits after sending DHCPDECLINE when started with the "-1" option.
(BZ#756759)

* Previously, dhclient kept sending DHCPDISCOVER messages in an infinite loop
when started with the "-timeout" option having a value of 3 or less (seconds).
With this update, the problem has been fixed and the "-timeout" option works as
expected with all values. (BZ#789719)

This update also provides the following enhancements:

* The DHCP server daemon now uses portreserve for reserving ports 647 and 847 to
prevent other programs from occupying them. (BZ#790686)

* All DHCPv6 options defined in RFC5970, except for the Boot File Parameters
Option, were implemented. This allows the DHCPv6 server to pass boot file URLs
back to IPv6-based netbooting clients (UEFI) based on the system's architecture.
(BZ#798735)

Users are advised to upgrade to these updated dhcp packages, which fix these
bugs and add these enhancements.


Solution

Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/knowledge/articles/11258

Updated packages

Red Hat Enterprise Linux Desktop (v. 6)

SRPMS:
dhcp-4.1.1-31.P1.el6.src.rpm
File outdated by:  RHBA-2013:1572
    MD5: e42111c448011b03d58a6ffec1bd9cbc
SHA-256: 584473fe014cf27ce0f16f8971f9778a24c724e04ddf0c8f50e48f0cb89d0a89
 
IA-32:
dhclient-4.1.1-31.P1.el6.i686.rpm
File outdated by:  RHBA-2013:1572
    MD5: e13065e25e12614f54f5055ba5d23e4b
SHA-256: d66d7d54717a1178e75958156f0bcef247463952c113dba7f6bb0876c4b98e1f
dhcp-4.1.1-31.P1.el6.i686.rpm
File outdated by:  RHBA-2013:1572
    MD5: 54e434cde49f2183eb1aa53e0a270fa1
SHA-256: cd6e763356cce89142b1bc6bcbe448b60dfe78642595585c67ca28cfdcdbf875
dhcp-common-4.1.1-31.P1.el6.i686.rpm
File outdated by:  RHBA-2013:1572
    MD5: 911c8990967ff9f2793ef890ef994f05
SHA-256: 12458ff1119842b2742bf088bf6eaf1541098363ea990b7c0440978f2323d9af
dhcp-debuginfo-4.1.1-31.P1.el6.i686.rpm
File outdated by:  RHBA-2013:1572
    MD5: 51fecd2951e7d7025dd2be5588279946
SHA-256: 97e1d31eda2c20fe4d266bdb1a83245e71d69af951a94db2ec5121a8e084b9aa
dhcp-devel-4.1.1-31.P1.el6.i686.rpm
File outdated by:  RHBA-2013:1572
    MD5: c23caff8a6870b502d4540878fe0057b
SHA-256: 49457288328103dae7e035fe694a9cf16a3655ceff24e71a0938cd8bb25d0c26
 
x86_64:
dhclient-4.1.1-31.P1.el6.x86_64.rpm
File outdated by:  RHBA-2013:1572
    MD5: a315dd4e3538b2bd8a9910e077d35d47
SHA-256: c05469311c17e734daa7e641f63e11422e73d45a1132bbd22fb96ee7c95af3ef
dhcp-4.1.1-31.P1.el6.x86_64.rpm
File outdated by:  RHBA-2013:1572
    MD5: e054a1676b4b491bc2b84ce90152ab1c
SHA-256: 2cf841061e5296600886bf4ecd1b3f7f769a4f169464865d88ea95791fba229f
dhcp-common-4.1.1-31.P1.el6.x86_64.rpm
File outdated by:  RHBA-2013:1572
    MD5: 218167a51f06d7914cf5cb3ff62e0e7e
SHA-256: a79cd64a9841d3e378ad92f17a15f87466bfef57c8304d3f249c2784e8cf329a
dhcp-debuginfo-4.1.1-31.P1.el6.i686.rpm
File outdated by:  RHBA-2013:1572
    MD5: 51fecd2951e7d7025dd2be5588279946
SHA-256: 97e1d31eda2c20fe4d266bdb1a83245e71d69af951a94db2ec5121a8e084b9aa
dhcp-debuginfo-4.1.1-31.P1.el6.x86_64.rpm
File outdated by:  RHBA-2013:1572
    MD5: a5e9094aae4a788997b178eb64ec8a6f
SHA-256: cd73854e176f6e72c012eacc2ada6e04f48655c53aa62ccfa7c58e77dd8eee2b
dhcp-devel-4.1.1-31.P1.el6.i686.rpm
File outdated by:  RHBA-2013:1572
    MD5: c23caff8a6870b502d4540878fe0057b
SHA-256: 49457288328103dae7e035fe694a9cf16a3655ceff24e71a0938cd8bb25d0c26
dhcp-devel-4.1.1-31.P1.el6.x86_64.rpm
File outdated by:  RHBA-2013:1572
    MD5: 592861d41c2fa03cc3fc57623771317f
SHA-256: 0ade42648ab96f9c9f0b923c539ebf87c9d1a9c8e91d13764cf2990d708241b2
 
Red Hat Enterprise Linux HPC Node (v. 6)

SRPMS:
dhcp-4.1.1-31.P1.el6.src.rpm
File outdated by:  RHBA-2013:1572
    MD5: e42111c448011b03d58a6ffec1bd9cbc
SHA-256: 584473fe014cf27ce0f16f8971f9778a24c724e04ddf0c8f50e48f0cb89d0a89
 
x86_64:
dhclient-4.1.1-31.P1.el6.x86_64.rpm
File outdated by:  RHBA-2013:1572
    MD5: a315dd4e3538b2bd8a9910e077d35d47
SHA-256: c05469311c17e734daa7e641f63e11422e73d45a1132bbd22fb96ee7c95af3ef
dhcp-4.1.1-31.P1.el6.x86_64.rpm
File outdated by:  RHBA-2013:1572
    MD5: e054a1676b4b491bc2b84ce90152ab1c
SHA-256: 2cf841061e5296600886bf4ecd1b3f7f769a4f169464865d88ea95791fba229f
dhcp-common-4.1.1-31.P1.el6.x86_64.rpm
File outdated by:  RHBA-2013:1572
    MD5: 218167a51f06d7914cf5cb3ff62e0e7e
SHA-256: a79cd64a9841d3e378ad92f17a15f87466bfef57c8304d3f249c2784e8cf329a
dhcp-debuginfo-4.1.1-31.P1.el6.i686.rpm
File outdated by:  RHBA-2013:1572
    MD5: 51fecd2951e7d7025dd2be5588279946
SHA-256: 97e1d31eda2c20fe4d266bdb1a83245e71d69af951a94db2ec5121a8e084b9aa
dhcp-debuginfo-4.1.1-31.P1.el6.x86_64.rpm
File outdated by:  RHBA-2013:1572
    MD5: a5e9094aae4a788997b178eb64ec8a6f
SHA-256: cd73854e176f6e72c012eacc2ada6e04f48655c53aa62ccfa7c58e77dd8eee2b
dhcp-devel-4.1.1-31.P1.el6.i686.rpm
File outdated by:  RHBA-2013:1572
    MD5: c23caff8a6870b502d4540878fe0057b
SHA-256: 49457288328103dae7e035fe694a9cf16a3655ceff24e71a0938cd8bb25d0c26
dhcp-devel-4.1.1-31.P1.el6.x86_64.rpm
File outdated by:  RHBA-2013:1572
    MD5: 592861d41c2fa03cc3fc57623771317f
SHA-256: 0ade42648ab96f9c9f0b923c539ebf87c9d1a9c8e91d13764cf2990d708241b2
 
Red Hat Enterprise Linux Server (v. 6)

SRPMS:
dhcp-4.1.1-31.P1.el6.src.rpm
File outdated by:  RHBA-2013:1572
    MD5: e42111c448011b03d58a6ffec1bd9cbc
SHA-256: 584473fe014cf27ce0f16f8971f9778a24c724e04ddf0c8f50e48f0cb89d0a89
 
IA-32:
dhclient-4.1.1-31.P1.el6.i686.rpm
File outdated by:  RHBA-2013:1572
    MD5: e13065e25e12614f54f5055ba5d23e4b
SHA-256: d66d7d54717a1178e75958156f0bcef247463952c113dba7f6bb0876c4b98e1f
dhcp-4.1.1-31.P1.el6.i686.rpm
File outdated by:  RHBA-2013:1572
    MD5: 54e434cde49f2183eb1aa53e0a270fa1
SHA-256: cd6e763356cce89142b1bc6bcbe448b60dfe78642595585c67ca28cfdcdbf875
dhcp-common-4.1.1-31.P1.el6.i686.rpm
File outdated by:  RHBA-2013:1572
    MD5: 911c8990967ff9f2793ef890ef994f05
SHA-256: 12458ff1119842b2742bf088bf6eaf1541098363ea990b7c0440978f2323d9af
dhcp-debuginfo-4.1.1-31.P1.el6.i686.rpm
File outdated by:  RHBA-2013:1572
    MD5: 51fecd2951e7d7025dd2be5588279946
SHA-256: 97e1d31eda2c20fe4d266bdb1a83245e71d69af951a94db2ec5121a8e084b9aa
dhcp-devel-4.1.1-31.P1.el6.i686.rpm
File outdated by:  RHBA-2013:1572
    MD5: c23caff8a6870b502d4540878fe0057b
SHA-256: 49457288328103dae7e035fe694a9cf16a3655ceff24e71a0938cd8bb25d0c26
 
PPC:
dhclient-4.1.1-31.P1.el6.ppc64.rpm
File outdated by:  RHBA-2013:1572
    MD5: 5c23c9fba2a72eefcd6e3f3eba5a01c6
SHA-256: e667296f8a197097ea031499d59bec4706f63e453d2b69a76363c541eb9038b1
dhcp-4.1.1-31.P1.el6.ppc64.rpm
File outdated by:  RHBA-2013:1572
    MD5: e9bfe86dcd1708692436994841095a56
SHA-256: bb1e1e17e2c27eceeeabf944883d569e1e4b061d4f1189602ba913891b27ce1c
dhcp-common-4.1.1-31.P1.el6.ppc64.rpm
File outdated by:  RHBA-2013:1572
    MD5: 39acf5adcacbf8c61de87c39fbc97296
SHA-256: 99d37448b29901ef28a041f2a73320dcca812a99f997e245922336ba19a24880
dhcp-debuginfo-4.1.1-31.P1.el6.ppc.rpm
File outdated by:  RHBA-2013:1572
    MD5: bd5618a0f1fee2643096f0a2f40a42b9
SHA-256: 992ec2c9bf6f412fc91b2ebd723c16ef81ccf087daa83d4e05766e9e52bbbd4c
dhcp-debuginfo-4.1.1-31.P1.el6.ppc64.rpm
File outdated by:  RHBA-2013:1572
    MD5: cc77f2a6c3ba355805b634405ff11da7
SHA-256: 32d19daa3e5de19e8989b05202bd3e37237a06efca3013bd42560bbdcd85bd71
dhcp-devel-4.1.1-31.P1.el6.ppc.rpm
File outdated by:  RHBA-2013:1572
    MD5: f70e3d15b27cd4fafd354d45478b3250
SHA-256: 693a920eaf9583ad6f64177c5350001b6e1773a95c62afbc041eb6df46a7bec2
dhcp-devel-4.1.1-31.P1.el6.ppc64.rpm
File outdated by:  RHBA-2013:1572
    MD5: 37dff55e82b8d27775aa56a367325d46
SHA-256: 689065d8500652e48499c8a733e51b07485b540e8b8f300e973f106ea5e98954
 
s390x:
dhclient-4.1.1-31.P1.el6.s390x.rpm
File outdated by:  RHBA-2013:1572
    MD5: d7d6b6c61ccfe768cce830fe01ea5ea9
SHA-256: e2bdf99f3a03321adda769484746a10f424b1cd8a8886bf9a362ef6971a8cbc8
dhcp-4.1.1-31.P1.el6.s390x.rpm
File outdated by:  RHBA-2013:1572
    MD5: c53672ff011eb280e2e135a3d1ffd296
SHA-256: 9fb55b5668ed8fce3abe7443cbd555389638af5551604c49da8f8eb5469ed34f
dhcp-common-4.1.1-31.P1.el6.s390x.rpm
File outdated by:  RHBA-2013:1572
    MD5: c1ec255145b4de8ab80cadc2b5b3518a
SHA-256: b72e45f10d1ccd3ef23deb7921b69120f08debfcbfa9c1a38302574eda442f19
dhcp-debuginfo-4.1.1-31.P1.el6.s390.rpm
File outdated by:  RHBA-2013:1572
    MD5: 7df0975a623d086cf5b5edb217463d99
SHA-256: 26d925b8a8c90f6fd3018b50ac4cd295b12ec2bf7d60932495db6488a60b0a8b
dhcp-debuginfo-4.1.1-31.P1.el6.s390x.rpm
File outdated by:  RHBA-2013:1572
    MD5: ce426a96e2ca45f24e401c123e3020f5
SHA-256: a98cbe0cf157e85c0c0cff453685b8ecb8d8f7dc6886de119142304324191034
dhcp-devel-4.1.1-31.P1.el6.s390.rpm
File outdated by:  RHBA-2013:1572
    MD5: 6726d0d5b0c963c5811370e5f349c541
SHA-256: 17adb15b5ab3976b6c992a0611c648ce975d21355a2dee87fcdbe56e44758567
dhcp-devel-4.1.1-31.P1.el6.s390x.rpm
File outdated by:  RHBA-2013:1572
    MD5: 0f0b4610aca2b290a9c05ce88df44ffd
SHA-256: ea74d4369f778b2130f954fe2a09681e86297fce1b082dbaa5efb41173a668f2
 
x86_64:
dhclient-4.1.1-31.P1.el6.x86_64.rpm
File outdated by:  RHBA-2013:1572
    MD5: a315dd4e3538b2bd8a9910e077d35d47
SHA-256: c05469311c17e734daa7e641f63e11422e73d45a1132bbd22fb96ee7c95af3ef
dhcp-4.1.1-31.P1.el6.x86_64.rpm
File outdated by:  RHBA-2013:1572
    MD5: e054a1676b4b491bc2b84ce90152ab1c
SHA-256: 2cf841061e5296600886bf4ecd1b3f7f769a4f169464865d88ea95791fba229f
dhcp-common-4.1.1-31.P1.el6.x86_64.rpm
File outdated by:  RHBA-2013:1572
    MD5: 218167a51f06d7914cf5cb3ff62e0e7e
SHA-256: a79cd64a9841d3e378ad92f17a15f87466bfef57c8304d3f249c2784e8cf329a
dhcp-debuginfo-4.1.1-31.P1.el6.i686.rpm
File outdated by:  RHBA-2013:1572
    MD5: 51fecd2951e7d7025dd2be5588279946
SHA-256: 97e1d31eda2c20fe4d266bdb1a83245e71d69af951a94db2ec5121a8e084b9aa
dhcp-debuginfo-4.1.1-31.P1.el6.x86_64.rpm
File outdated by:  RHBA-2013:1572
    MD5: a5e9094aae4a788997b178eb64ec8a6f
SHA-256: cd73854e176f6e72c012eacc2ada6e04f48655c53aa62ccfa7c58e77dd8eee2b
dhcp-devel-4.1.1-31.P1.el6.i686.rpm
File outdated by:  RHBA-2013:1572
    MD5: c23caff8a6870b502d4540878fe0057b
SHA-256: 49457288328103dae7e035fe694a9cf16a3655ceff24e71a0938cd8bb25d0c26
dhcp-devel-4.1.1-31.P1.el6.x86_64.rpm
File outdated by:  RHBA-2013:1572
    MD5: 592861d41c2fa03cc3fc57623771317f
SHA-256: 0ade42648ab96f9c9f0b923c539ebf87c9d1a9c8e91d13764cf2990d708241b2
 
Red Hat Enterprise Linux Workstation (v. 6)

SRPMS:
dhcp-4.1.1-31.P1.el6.src.rpm
File outdated by:  RHBA-2013:1572
    MD5: e42111c448011b03d58a6ffec1bd9cbc
SHA-256: 584473fe014cf27ce0f16f8971f9778a24c724e04ddf0c8f50e48f0cb89d0a89
 
IA-32:
dhclient-4.1.1-31.P1.el6.i686.rpm
File outdated by:  RHBA-2013:1572
    MD5: e13065e25e12614f54f5055ba5d23e4b
SHA-256: d66d7d54717a1178e75958156f0bcef247463952c113dba7f6bb0876c4b98e1f
dhcp-4.1.1-31.P1.el6.i686.rpm
File outdated by:  RHBA-2013:1572
    MD5: 54e434cde49f2183eb1aa53e0a270fa1
SHA-256: cd6e763356cce89142b1bc6bcbe448b60dfe78642595585c67ca28cfdcdbf875
dhcp-common-4.1.1-31.P1.el6.i686.rpm
File outdated by:  RHBA-2013:1572
    MD5: 911c8990967ff9f2793ef890ef994f05
SHA-256: 12458ff1119842b2742bf088bf6eaf1541098363ea990b7c0440978f2323d9af
dhcp-debuginfo-4.1.1-31.P1.el6.i686.rpm
File outdated by:  RHBA-2013:1572
    MD5: 51fecd2951e7d7025dd2be5588279946
SHA-256: 97e1d31eda2c20fe4d266bdb1a83245e71d69af951a94db2ec5121a8e084b9aa
dhcp-devel-4.1.1-31.P1.el6.i686.rpm
File outdated by:  RHBA-2013:1572
    MD5: c23caff8a6870b502d4540878fe0057b
SHA-256: 49457288328103dae7e035fe694a9cf16a3655ceff24e71a0938cd8bb25d0c26
 
x86_64:
dhclient-4.1.1-31.P1.el6.x86_64.rpm
File outdated by:  RHBA-2013:1572
    MD5: a315dd4e3538b2bd8a9910e077d35d47
SHA-256: c05469311c17e734daa7e641f63e11422e73d45a1132bbd22fb96ee7c95af3ef
dhcp-4.1.1-31.P1.el6.x86_64.rpm
File outdated by:  RHBA-2013:1572
    MD5: e054a1676b4b491bc2b84ce90152ab1c
SHA-256: 2cf841061e5296600886bf4ecd1b3f7f769a4f169464865d88ea95791fba229f
dhcp-common-4.1.1-31.P1.el6.x86_64.rpm
File outdated by:  RHBA-2013:1572
    MD5: 218167a51f06d7914cf5cb3ff62e0e7e
SHA-256: a79cd64a9841d3e378ad92f17a15f87466bfef57c8304d3f249c2784e8cf329a
dhcp-debuginfo-4.1.1-31.P1.el6.i686.rpm
File outdated by:  RHBA-2013:1572
    MD5: 51fecd2951e7d7025dd2be5588279946
SHA-256: 97e1d31eda2c20fe4d266bdb1a83245e71d69af951a94db2ec5121a8e084b9aa
dhcp-debuginfo-4.1.1-31.P1.el6.x86_64.rpm
File outdated by:  RHBA-2013:1572
    MD5: a5e9094aae4a788997b178eb64ec8a6f
SHA-256: cd73854e176f6e72c012eacc2ada6e04f48655c53aa62ccfa7c58e77dd8eee2b
dhcp-devel-4.1.1-31.P1.el6.i686.rpm
File outdated by:  RHBA-2013:1572
    MD5: c23caff8a6870b502d4540878fe0057b
SHA-256: 49457288328103dae7e035fe694a9cf16a3655ceff24e71a0938cd8bb25d0c26
dhcp-devel-4.1.1-31.P1.el6.x86_64.rpm
File outdated by:  RHBA-2013:1572
    MD5: 592861d41c2fa03cc3fc57623771317f
SHA-256: 0ade42648ab96f9c9f0b923c539ebf87c9d1a9c8e91d13764cf2990d708241b2
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

752116 - dhclient and dhclient-script do not send arping before sending DHCPACK reply to dhcp server
756759 - dhclient retries on DHCPDECLINE despite -1 option
789719 - When the -timeout option is less than or equal to 3, dhclient will stuck in a infinite loop doing DHCP Discover
790686 - dhcp should be using portreserve
798735 - RFE: backport RFC5970 support to dhcp



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/