Issued:
2011-12-06
Updated:
2011-12-06

RHBA-2011:1746 - dnsmasq bug fix update


Synopsis

dnsmasq bug fix update

Type/Severity

Bug Fix Advisory (none)

Topic

An updated dnsmasq package that addresses two bugs is now available for Red Hat Enterprise Linux 6.

Description

Dnsmasq is a lightweight and easy-to-configure DNS forwarder and DHCP server.

This update makes the following changes:

  • Three changes were made to /etc/init.d/dnsmasq, the dnsmasq startup script. (BZ#584009)

If dnsmasq was started or restarted by a non-privileged user, the startup script previously failed silently. With this update, the dnsmasq startup script now exits with a status code of 4 (user had insufficient privilege) and returns a "User has insufficient privilege" error to STD OUT when started or restarted by a non-privileged user.

A "force-reload" option was added: The "service force-reload dnsmasq" command now forces dnsmasq to reload. Previously, it did nothing.

If /etc/init.d/dnsmasq passed an invalid argument, previously the startup script exited with a status code of 1 (generic or unspecified error). With this update, the startup script now exits correctly, returning a status code of 2 (invalid or excess argument) in such a circumstance.

  • If the virtual bridge interface (virbr0) was up and dnsmasq was started by default, dnsmasq could, in some circumstances, write a "DHCP packet received on eth(x) which has no address" message to /var/log/messages. Note: this message was not in error. The message was written if an actual interface (eg eth1) was up; did not have a configured IP address (eg was slaved to a logical bonded interface); and was in the same LAN as another host which generated a DHCP request. The message had little-to-no utility, however: it presented a warning where none was needed. With this update, this message is no longer written to /var/log/messages in these, and equivalent, circumstances. (BZ#704073)

All dnsmasq users should install this update which makes these changes.

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 This content is not included.https://access.redhat.com/kb/docs/DOC-11259

Affected Products

ProductVersionArch
Red Hat Enterprise Linux for Scientific Computing6x86_64
Red Hat Enterprise Linux for Power, big endian6ppc64
Red Hat Enterprise Linux for IBM z Systems6s390x
Red Hat Enterprise Linux Workstation6x86_64
Red Hat Enterprise Linux Workstation6i386
Red Hat Enterprise Linux Server6x86_64
Red Hat Enterprise Linux Server6i386
Red Hat Enterprise Linux Server from RHUI6x86_64
Red Hat Enterprise Linux Server from RHUI6i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support6i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension6i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems)6s390x
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems)6s390x
Red Hat Enterprise Linux Desktop6x86_64
Red Hat Enterprise Linux Desktop6i386

Updated Packages

  • dnsmasq-2.48-5.el6.src.rpm
  • dnsmasq-debuginfo-2.48-5.el6.s390x.rpm
  • dnsmasq-2.48-5.el6.s390x.rpm
  • dnsmasq-debuginfo-2.48-5.el6.i686.rpm
  • dnsmasq-debuginfo-2.48-5.el6.ppc64.rpm
  • dnsmasq-debuginfo-2.48-5.el6.x86_64.rpm
  • dnsmasq-2.48-5.el6.x86_64.rpm
  • dnsmasq-2.48-5.el6.i686.rpm
  • dnsmasq-2.48-5.el6.ppc64.rpm

Fixes

CVEs

(none)

References

(none)


Additional information