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

2010-12-23 Thread Andrew Pollock
On Wed, Dec 22, 2010 at 11:41:06PM +0100, kA kA wrote:
> 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.
> 

Unfortunately Squeeze is in deep freeze, so I can't fix this for Squeeze.
Out of curiosity, wouldn't using resolvconf also address this problem?



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#587955: Please fix this bug

2010-12-22 Thread kA kA
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.orig2010-11-27 18:46:36.0 +0100
+++ dhclient-script.new 2010-12-22 23:08:08.0 +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
 }
 




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org