dhclient-script patch to preserve resolv.conf.save

2010-04-07 Thread patrick keshishian
Hello, At home I use static IPs, but when I take my laptop to work I end up using DHCP. Typically there are no issues, however, at work, if the link goes down, when it comes back up, the saved resolv.conf file gets clubbered with previous DHCP-ed version and leaves me to reconstruct my resolv.conf

Re: dhclient-script patch to preserve resolv.conf.save

2010-04-14 Thread patrick keshishian
No bueno? On Wed, Apr 07, 2010 at 01:30:34AM -0700, patrick keshishian wrote: > Hello, > > At home I use static IPs, but when I take my laptop to work I > end up using DHCP. Typically there are no issues, however, at > work, if the link goes down, when it comes back up, the saved > resolv.conf fi

Re: dhclient-script patch to preserve resolv.conf.save

2010-04-15 Thread Stuart Henderson
On 2010/04/14 23:07, patrick keshishian wrote: > No bueno? I've run into this before and like this diff, I'll try and do some install media tests in the next few days. > On Wed, Apr 07, 2010 at 01:30:34AM -0700, patrick keshishian wrote: > > Hello, > > > > At home I use static IPs, but when I t

Re: dhclient-script patch to preserve resolv.conf.save

2010-04-15 Thread Ian Darwin
patrick keshishian wrote: I believe there is no good reason for dhclient-script to override an already existing /etc/resolv.conf.save file. This would not be good for other use cases for dhcp, for example, I often use my netbook at 3 or more locations in the same day. Why would I want to e

Re: dhclient-script patch to preserve resolv.conf.save

2010-04-15 Thread patrick keshishian
On Thu, Apr 15, 2010 at 10:02:07AM -0400, Ian Darwin wrote: > patrick keshishian wrote: > >> > >>I believe there is no good reason for dhclient-script to > >>override an already existing /etc/resolv.conf.save file. > >> > This would not be good for other use cases for dhcp, for example, I often