Bug#504622: network-manager: search options in resolv.conf created incorrectly

2008-11-20 Thread Michael Biebl
andrew bezella wrote:
 On Wed, 2008-11-19 at 16:38 +0100, Michael Biebl wrote: 
 Hi Andy,

 could you please check, if you have configured domain-list correctly [1]
 in dhclient.conf, i.e. lines end with a semicolon and
 entries are enclosed in double quotes and separated by commas.
 
 hi michael -
 
 yep, that was my problem with the /032 character.  the dhcp-options
 man page in debian contradicts the snippet in the redhat link you sent:
   The domain-list data type specifies a list of domain names, a space
   between each name and the entire string enclosed in double quotes.
   These types of data are used for the domain-search option for example,
   and encodes an RFC1035 compressed DNS label list on the wire.
 
 no mention of commas and it states that the _entire_ string should be
 quoted.  once i added the commas and changed the quoting, network
 manager created the resolv.conf search line without the /032.
 
 i'm unsure if i should file a bug against dhcp3-client re: the
 documentation, as the format described in the man page seems to work
 outside of network-manager.  do you have a suggestion?
 
 thanks for your time.  let me know if you need me to supply any
 additional information or try anything regarding the second part of this
 bug (network manager's handling of the domain and search lines).
 

I think the dhcp-options man page is outdated. See also [1].
I CCed Andrew, just to be sure.

Nonetheless, even if this is a misconfiguration, I talked to NM
upstream, and we discussed if NM could be a bit smarter and strip off
/032. After all, it's not a valid domain name component.
Upstream does not seem to be aversed to this idea.

Andrew, what would be your recommendation?

Cheers,
Michael


[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=492500#10
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#504622: network-manager: search options in resolv.conf created incorrectly

2008-11-19 Thread Michael Biebl
andy bezella wrote:
 Package: network-manager
 Version: 0.7.0~svn4191-1
 Severity: normal
 
 after upgrading to network-manager to 0.7.0~svn4191-1 from 0.6.6-2, the 
 search options in my resolv.conf are created incorrectly.
 
 one issue is that the domains in the search path are separated by a \032 
 instead of a space (this is also reported in Ubuntu Bug #275288).
 
 the other issue is that resolvconf (apparently used in 0.6.6) was intelligent 
 about merging domain and search lines.  this seems to have been lost now that 
 network-manager has taken over the resolvconf functionality.
 

Hi Andy,

could you please check, if you have configured domain-list correctly [1]
in dhclient.conf, i.e. lines end with a semicolon and
entries are enclosed in double quotes and separated by commas.



Thanks,
Michael


[1] https://bugzilla.redhat.com/show_bug.cgi?id=450042#c36

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#504622: network-manager: search options in resolv.conf created incorrectly

2008-11-19 Thread andrew bezella
On Wed, 2008-11-19 at 16:38 +0100, Michael Biebl wrote: 
 Hi Andy,
 
 could you please check, if you have configured domain-list correctly [1]
 in dhclient.conf, i.e. lines end with a semicolon and
 entries are enclosed in double quotes and separated by commas.

hi michael -

yep, that was my problem with the /032 character.  the dhcp-options
man page in debian contradicts the snippet in the redhat link you sent:
  The domain-list data type specifies a list of domain names, a space
  between each name and the entire string enclosed in double quotes.
  These types of data are used for the domain-search option for example,
  and encodes an RFC1035 compressed DNS label list on the wire.

no mention of commas and it states that the _entire_ string should be
quoted.  once i added the commas and changed the quoting, network
manager created the resolv.conf search line without the /032.

i'm unsure if i should file a bug against dhcp3-client re: the
documentation, as the format described in the man page seems to work
outside of network-manager.  do you have a suggestion?

thanks for your time.  let me know if you need me to supply any
additional information or try anything regarding the second part of this
bug (network manager's handling of the domain and search lines).

andy

 
 [1] https://bugzilla.redhat.com/show_bug.cgi?id=450042#c36
 
-- 
andrew bezella [EMAIL PROTECTED]
Internet Archive




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#504622: network-manager: search options in resolv.conf created incorrectly

2008-11-05 Thread andy bezella
Package: network-manager
Version: 0.7.0~svn4191-1
Severity: normal

after upgrading to network-manager to 0.7.0~svn4191-1 from 0.6.6-2, the search 
options in my resolv.conf are created incorrectly.

one issue is that the domains in the search path are separated by a \032 
instead of a space (this is also reported in Ubuntu Bug #275288).

the other issue is that resolvconf (apparently used in 0.6.6) was intelligent 
about merging domain and search lines.  this seems to have been lost now that 
network-manager has taken over the resolvconf functionality.

pre-upgrade (0.6.6-2) resolv.conf:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 207.241.238.254
nameserver 207.241.239.104
search sheridan.archive.org diatribes.org. us.archive.org. archive.org. .

post-upgrade (0.7.0~svn4191) resolv.conf:
# Generated by NetworkManager
domain sheridan.archive.org
search diatribes.org.\032us.archive.org.\032archive.org.\032.
nameserver 207.241.238.254
nameserver 207.241.239.104


-- System Information:
Debian Release: lenny/sid
  APT prefers experimental
  APT policy: (999, 'experimental'), (990, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.27-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages network-manager depends on:
ii  adduser3.110 add and remove users and groups
ii  dbus   1.2.1-4   simple interprocess messaging syst
ii  hal0.5.11-6  Hardware Abstraction Layer
ii  ifupdown   0.7~alpha3high level tools to configure netw
ii  libc6  2.8+20080809-1GNU C Library: Shared libraries
ii  libdbus-1-31.2.1-4   simple interprocess messaging syst
ii  libdbus-glib-1-2   0.76-1simple interprocess messaging syst
ii  libgcrypt111.4.3-1   LGPL Crypto library - runtime libr
ii  libglib2.0-0   2.18.2-1  The GLib library of C routines
ii  libgnutls262.6.0-1   the GNU TLS library - runtime libr
ii  libgpg-error0  1.4-2 library for common error values an
ii  libhal10.5.11-6  Hardware Abstraction Layer - share
ii  libnl1 1.1-3 library for dealing with netlink s
ii  libnm-glib00.7.0~svn4191-1   network management framework (GLib
ii  libnm-util00.7.0~svn4191-1   network management framework (shar
ii  libpolkit-dbus20.9-1 library for accessing PolicyKit vi
ii  libpolkit2 0.9-1 library for accessing PolicyKit
ii  libtasn1-3 1.5-1 Manage ASN.1 structures (runtime)
ii  libuuid1   1.41.3-1  universally unique id library
ii  lsb-base   3.2-20Linux Standard Base 3.2 init scrip
ii  wpasupplicant  0.6.4-3   client support for WPA and WPA2 (I
ii  zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages network-manager recommends:
ii  network-manager-gnome 0.7.0~svn953-1 network management framework (GNOM
ii  policykit 0.9-1  framework for managing administrat

Versions of packages network-manager suggests:
ii  avahi-autoipd 0.6.23-2   Avahi IPv4LL network address confi

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]