<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>134101</bug_id>
          
          <creation_ts>2006-05-23 05:37 0000</creation_ts>
          <short_desc>net-misc/dhcp fails to set dns correctly on multiple dns servers</short_desc>
          <delta_ts>2006-05-23 06:04:44 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>2006.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jan@spitalnik.net</reporter>
          <assigned_to>uberlord@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>jan@spitalnik.net</who>
            <bug_when>2006-05-23 05:37:21 0000</bug_when>
            <thetext>Hi,

when i try to use dhcp client in our company network dhclient-script
logs this into syslog:

May 23 14:28:36 spity-nb dhclient: bound to 129.157.75.161 -- renewal in 6630 seconds.
---
May 23 14:28:36 spity-nb ifplugd(lan0)[6161]: client: /sbin/dhclient-script: line 27: [: too many arguments
May 23 14:28:36 spity-nb ifplugd(lan0)[6161]: client: /sbin/dhclient-script: line 27: [: too many arguments
---

dhclient-script is not able to cope well with multiple DNS&apos;s or multiple search domains. Appended patch fixes it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jan@spitalnik.net</who>
            <bug_when>2006-05-23 05:37:57 0000</bug_when>
            <thetext>Created an attachment (id=87320)
fix for dhclient-script

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>uberlord@gentoo.org</who>
            <bug_when>2006-05-23 06:04:44 0000</bug_when>
            <thetext>Fixed in dhcp-3.0.3-r9

Thanks for the report :)</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>87320</attachid>
            <date>2006-05-23 05:37 0000</date>
            <desc>fix for dhclient-script</desc>
            <filename>dhclient-script.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGRoY2xpZW50LXNjcmlwdC5vcmlnCTIwMDYtMDMtMjkgMDE6Mjk6MjQuMDAwMDAwMDAwICsw
MjAwCisrKyBkaGNsaWVudC1zY3JpcHQJMjAwNi0wNC0yMSAwOTozODo0Ny4wMDAwMDAwMDAgKzAy
MDAKQEAgLTI0LDkgKzI0LDkgQEAKIAogbWFrZV9yZXNvbHZfY29uZigpIHsKICAgaWYgWyB4JFBF
RVJfRE5TID0geCBdIHx8IFsgeCRQRUVSX0ROUyA9IHh5ZXMgXTsgdGhlbgotICAgIGlmIFsgeCRu
ZXdfZG9tYWluX25hbWUgIT0geCBdIHx8IFsgeCRuZXdfZG9tYWluX25hbWVfc2VydmVycyAhPSB4
IF07IHRoZW4KKyAgICBpZiBbICJ4JG5ld19kb21haW5fbmFtZSIgIT0geCBdIHx8IFsgIngkbmV3
X2RvbWFpbl9uYW1lX3NlcnZlcnMiICE9IHggXTsgdGhlbgogICAgICAgY29uZj0iIyBHZW5lcmF0
ZWQgYnkgZGhjbGllbnQgZm9yIGludGVyZmFjZSAkaW50ZXJmYWNlXG4iCi0gICAgICBpZiBbIHgk
bmV3X2RvbWFpbl9uYW1lICE9IHggXTsgdGhlbgorICAgICAgaWYgWyAieCRuZXdfZG9tYWluX25h
bWUiICE9IHggXTsgdGhlbgogICAgICAgICBjb25mPSIke2NvbmZ9c2VhcmNoICRuZXdfZG9tYWlu
X25hbWVcbiIKICAgICAgIGZpCiAgICAgICBmb3IgbmFtZXNlcnZlciBpbiAkbmV3X2RvbWFpbl9u
YW1lX3NlcnZlcnM7IGRvCg==
</data>        

          </attachment>
    </bug>

</bugzilla>