Bug#268343: Does not understand "search" option in resolv.conf

Thomas Hood Thomas Hood <jdthood@yahoo.co.uk>, 268343@bugs.debian.org
Fri, 27 Aug 2004 11:13:31 +0200


Package: gnome-system-tools
Version: 0.90.0-3
Severity: normal

The "domain" option in /etc/resolv.conf is superseded by the "search"
option and, accordingly, lot of administrators and programs (such as
DHCP client programs) use "search".

I begin with this /etc/resolv.conf:

nameserver 194.159.73.137
search foo.bar baz.goo

None of these domain names appears in the
Network Settings|General|Domain name field.  After changing this
field to 'garg.com', I have this in /etc/resolv.conf:

nameserver 194.159.73.137
search foo.bar baz.goo
domain garg.com

Unfortunately, as mentioned in resolv.conf(5)

    The domain and search keywords are mutually exclusive.  If more
    than one instance of these keywords is present, the last
    instance wins.

I'd say that the program should know about the 'search' option and
handle it properly.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (700, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.27
Locale: LANG=en_IE@euro, LC_CTYPE=en_IE@euro

Versions of packages gnome-system-tools depends on:
ii  libart-2.0-2              2.3.16-6       Library of functions for 2D graphi
ii  libatk1.0-0               1.6.1-3        The ATK accessibility toolkit
ii  libbonobo2-0              2.6.2-6        Bonobo CORBA interfaces library
ii  libbonoboui2-0            2.6.1-1        The Bonobo UI library
ii  libc6                     2.3.2.ds1-16   GNU C Library: Shared libraries an
ii  libgconf2-4               2.6.3-2        GNOME configuration database syste
ii  libglade2-0               1:2.4.0-1      Library to load .glade files at ru
ii  libglib2.0-0              2.4.6-1        The GLib library of C routines
ii  libgnome2-0               2.6.1.2-2      The GNOME 2 library - runtime file
ii  libgnomecanvas2-0         2.6.1.1-2      A powerful object-oriented display
ii  libgnomeui-0              2.6.1.1-4      The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0            2.6.2-1        The GNOME virtual file-system libr
ii  libgtk2.0-0               2.4.4-2        The GTK+ graphical user interface 
ii  libice6                   4.3.0.dfsg.1-6 Inter-Client Exchange library
ii  liborbit2                 1:2.10.2-1.1   libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0             1.4.1-2        Layout and rendering of internatio
ii  libpopt0                  1.7-4          lib for parsing cmdline parameters
ii  libsm6                    4.3.0.dfsg.1-6 X Window System Session Management
ii  libxml2                   2.6.11-3       GNOME XML library
ii  perl                      5.8.4-2        Larry Wall's Practical Extraction 
ii  xlibs                     4.3.0.dfsg.1-6 X Window System client libraries m
ii  zlib1g                    1:1.2.1.1-5    compression library - runtime

-- no debconf information