Your message dated Mon, 04 Aug 2008 19:56:47 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#461056: 461056 strikes again
has caused the Debian Bug report #461056,
regarding dhclient-scripts break resolv.conf if multiple domain-search is given
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
461056: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=461056
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: dhcp3-client
Version: 3.1.0-1
If domain-search contains multiple options separated by spaces, the resulting
resolv.conf has the ending domains separated by \032 instead of spaces.
The problem is in /sbin/dhclient-script, in make_resolv_conf():
echo "search ${new_domain_search/\\032/ }" >> $new_resolv_conf
only replace the first \032 occurrence.
If you replace it with:
echo "search ${new_domain_search//\\032/ }" >> $new_resolv_conf
(note the double /)
it'll replace all occurrences, and the resulting resolv.conf will work.
HTH, and regards,
--
Yves-Alexis
--- End Message ---
--- Begin Message ---
Package dhcp3-client
notfound 461056 3.1.1-3
thanks
On mar, 2008-08-05 at 03:42 +1000, Andrew Pollock wrote:
> The correct way is:
>
> prepend domain-search "domain1", "domain2", "domain3";
>
> Does this not work for you?
I managed to test this on another box and it seems to work. Do you know
why it add a dot at domain ends?
(like: search corsac.net. debian.org.)
Cheers,
--
Yves-Alexis
signature.asc
Description: This is a digitally signed message part
--- End Message ---