From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 Description of problem: When ifup-post creates a new /etc/resolv.conf from the information in $DOMAIN, $DNS1, and $DNS2, it writes a "search" line for every line in the original /etc/resolv.conf, or two "search" lines if the original /etc/resolv.conf was shorter than that. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. In /etc/sysconfig/network-scripts/ifcfg-eth0, add: PEERDNS="yes" DOMAIN="some.domain" DNS1="1.2.3.4" DNS2="5.6.7.8" 2. Run "ifdown eth0" 3. Run "ifup eth0" Actual Results: /etc/resolv.conf contained five "search some.domain" lines. Expected Results: /etc/resolv.conf should contain a single "search some.domain" line. Additional info: Tested with a "BOOTPROTO=static" configuration only.
Created attachment 88308 [details] Fix for multiple "search" line problem
Added in 7.03-1, thanks!