#567542 network-manager not correctly applying "prepend domain-search" option

Package:
network-manager
Source:
network-manager
Description:
network management framework (daemon and userspace tools)
Submitter:
andy
Date:
2010-05-22 02:54:11 UTC
Severity:
normal
#567542#5
Date:
2010-01-29 17:35:59 UTC
From:
To:
after upgrading to network-manager 0.7.999-2 i found that the
search path in my resolv.conf was ordered incorrectly.  i have a
"prepend domain-search" line in my dhclient.conf.  until this upgrade
that was correctly being inserted before any dhcpd-supplied entries.
after upgrading my domains are placed _after_ those from the server.
downgrading to 0.7.2-2 corrects this behavior.

also, as the domain and search keywords are mutually exclusive perhaps
network-manager should (when appropriate) only create the "search"
line?  cf. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504622

thanks.

	andy

#567542#10
Date:
2010-05-22 00:00:58 UTC
From:
To:
this problem still exists with network-manager Version: 0.8-1

with network-manager Version: 0.7.2-2 the following line in dhclient.conf:
  prepend domain-search "diatribes.org", "us.archive.org", "archive.org", "dsl.static.sonic.net";

results in this line in /etc/resolv.conf:
  search diatribes.org. us.archive.org. archive.org. dsl.static.sonic.net. sf.archive.org us.archive.org

however with Version: 0.8-1 the resultant "search" line is:
  search sf.archive.org us.archive.org core.archive.org archive.org diatribes.org. us.archive.org.

downgrading resolves this issue.

thank you.

	andy

#567542#15
Date:
2010-05-22 00:00:58 UTC
From:
To:
this problem still exists with network-manager Version: 0.8-1

with network-manager Version: 0.7.2-2 the following line in dhclient.conf:
  prepend domain-search "diatribes.org", "us.archive.org", "archive.org", "dsl.static.sonic.net";

results in this line in /etc/resolv.conf:
  search diatribes.org. us.archive.org. archive.org. dsl.static.sonic.net. sf.archive.org us.archive.org

however with Version: 0.8-1 the resultant "search" line is:
  search sf.archive.org us.archive.org core.archive.org archive.org diatribes.org. us.archive.org.

downgrading resolves this issue.

thank you.

	andy