Description of problem: I configure my eth1 interfaces (on different machines) with DHCP and I have 'PEERDNS=yes' for good reasons. Suddenly after 'ifup eth1' my /etc/resolv.conf has a legth 1 with only a newline character in it. Obviously many other things are immediately affected. That happened after the last series of updates. This despite of that detail that in /var/lib/dhcp/dhclient-eth1.leases I still have: lease { interface "eth1"; ....... option domain-name-servers aaa.bbb.cc.ddd; option dhcp-server-identifier aaa.bbb.cc.ddd; ..... } which is indeed absolutely correct. Programs from 'dhclient' package do not seem to responsible for that trouble as they were installed on "Wed 18 Aug 2004" (although I would not absolutely swear; I had a number of other "surprises" recently and possibly missed when the problem started). Version-Release number of selected component (if applicable): initscripts-7.66-1 How reproducible: Always
L
Created attachment 102968 [details] fix to change_resolv_conf() in network-functions for initscripts-7.66-1
Created attachment 102969 [details] fix to change_resolv_conf() in network-functions for initscripts-7.66-1, removed debug echoing
After the patch above I got my resolv.conf into a desired state again.
*** Bug 130592 has been marked as a duplicate of this bug. ***
This is fixed in initscripts-7.67 .