Hi,

This bug was reported by a Debian user in version 3.1.1, and I've been able
to reproduce it in 3.1.3 and 4.1.0

Please maintain the Cc list to keep our bug tracking system in the loop

Steps to reproduce:

Configure DHCP server to provide domain-search with two or more domains

Configure DHCP client to prepend domain-search with another domain

Expected result:

Configured domain search list consists of the DHCP-provided domains with the
client-configured domain prepended to the list

Actual result:

Configured domain search list consists of the first DHCP-provided domain
(only) with the client-configured domain prepended. The lease file contains
a trailing comma and some whitespace before the semicolon

----- Forwarded message from Michael Stapelberg 
<michael+db20090...@stapelberg.de> -----

Subject: Bug#533302: dhclient.conf: prepend domain-search "example.net" does
        not prepend but replace the search value
Reply-To: Michael Stapelberg <michael+db20090...@stapelberg.de>,
        533...@bugs.debian.org
Resent-From: Michael Stapelberg <michael+db20090...@stapelberg.de>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Andrew Pollock <apoll...@debian.org>
Resent-Date: Tue, 16 Jun 2009 11:42:02 +0000
Resent-Message-ID: <handler.533302.b.124515054327...@bugs.debian.org>
Resent-Sender: ow...@bugs.debian.org
X-Debian-PR-Message: report 533302
X-Debian-PR-Package: dhcp3-client
X-Debian-PR-Keywords: 
X-Debian-PR-Source: dhcp3
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
        (2007-08-08) on rietz.debian.org
X-Spam-Level: 
X-Spam-Bayes: score:0.0000 Tokens: new, 20; hammy, 151; neutral, 56; spammy,
        0. spammytokens: hammytokens:0.000-+--H*M:reportbug,
        0.000-+--H*MI:reportbug, 0.000-+--H*x:reportbug,
        0.000-+--H*UA:reportbug, 0.000-+--x86_64
X-Spam-Status: No, score=-11.9 required=4.0 tests=BAYES_00,FOURLA,HAS_PACKAGE,
        XMAILER_REPORTBUG autolearn=ham
        version=3.2.3-bugs.debian.org_2005_01_02
From: Michael Stapelberg <michael+db20090...@stapelberg.de>
To: Debian Bug Tracking System <sub...@bugs.debian.org>

Package: dhcp3-client
Version: 3.1.1-6
Severity: important

Normally, when using DHCP, I get a line like "search foo.lan" in my 
/etc/resolv.conf.
After specifying the following in /etc/dhcp3/dhclient.conf:

prepend domain-search "example.net";

my /etc/resolv.conf contained "search example.net." where it should use
"search example.net foo.lan" instead.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-7 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dhcp3-client depends on:
ii  debconf [debconf-2.0]         1.5.26     Debian configuration management sy
ii  debianutils                   3.1.3      Miscellaneous utilities specific t
ii  dhcp3-common                  3.1.1-6    common files used by all the dhcp3
ii  libc6                         2.9-12     GNU C Library: Shared libraries

dhcp3-client recommends no packages.

Versions of packages dhcp3-client suggests:
pn  avahi-autoipd                 <none>     (no description available)
ii  resolvconf                    1.44       name server information handler

-- debconf-show failed




----- End forwarded message -----



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to