[pkg-dhcp-devel] Bug#587955: Please fix this bug

kA kA gandy at abacho.de
Wed Dec 22 22:41:06 UTC 2010


Dear all,

I am also plagued by this bug, which has an easy fix.
My key issue with this bug is that when I update packages, I often forget to reapply the patch.
Since the installation is used on several computers by "normal" users, the users are unable to normally navigate through the www in such an instance.
Hence I am truely annoyed by this bug.

So please fix this bug once and for ever.

Thanx for all your efforts in advance.

Best regards,
Ralf

P.S. Bye the way, I use the following patch - which is closer to the original script:

--- dhclient-script.orig        2010-11-27 18:46:36.000000000 +0100
+++ dhclient-script.new 2010-12-22 23:08:08.000000000 +0100
@@ -14,7 +14,7 @@
 
 make_resolv_conf() {
     if [ "$new_domain_name" -o "$new_domain_name_servers" ]; then
-        local new_resolv_conf=/etc/resolv.conf.dhclient-new
+        local new_resolv_conf=`readlink -f /etc/resolv.conf`.dhclient-new
         rm -f $new_resolv_conf
         if [ "$new_domain_name" ]; then
             echo domain ${new_domain_name%% *} >>$new_resolv_conf
@@ -45,7 +45,7 @@
         fi
         chown --reference=/etc/resolv.conf $new_resolv_conf
         chmod --reference=/etc/resolv.conf $new_resolv_conf
-        mv -f $new_resolv_conf /etc/resolv.conf
+        mv -f $new_resolv_conf `readlink -f /etc/resolv.conf`
     fi
 }
 






More information about the pkg-dhcp-devel mailing list