dhclient ignores additional parameters to the domain-search directive

Bug #327962 reported by georgz
4
Affects Status Importance Assigned to Milestone
dhcp3 (Debian)
New
Undecided
Unassigned
dhcp3 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: dhcp

Ubuntu 8.10 i386

dhcp3-client:
  Installiert: 3.1.1-1ubuntu2
  Kandidat: 3.1.1-1ubuntu2
  Versions-Tabelle:
 *** 3.1.1-1ubuntu2 0
        500 http://de.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status

I need to give search domains to dhclient so that they appear in /etc/resolv.conf in addition to the search domain delivered by the DHCP server.

Therefore I add an append or prepend statement to /etc/dhcp3/dhclient.conf:

        append domain-search "subdomain.domain.com", "domain.com";

This is according to the documentation. Please see Debian bug 461056.

The net result is that only the first directive gets into resolv.conf, the second (and furhter) ones are being ignored.

It should add a line to /etc/resolv.conf:

        search <domain given by DHCP server> <domain1 given by append> <domain2 given by append>

But it is only doing

        search <domain given by DHCP server> <domain1 given by append>

affects: dhcp (Ubuntu) → dhcp3 (Ubuntu)
Changed in dhcp3 (Debian):
importance: Unknown → Undecided
status: Unknown → New
Revision history for this message
Chuck Short (zulcss) wrote :

Hi

This patch has been refrenced in bug #46106 applied for karmic. Thanks for the bug report.

Regards
chuck

Changed in dhcp3 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.