Re: /etc/resolv.conf keeps getting overwritten
On Sat, Jan 04, 2003 at 10:11:28PM -0700, Bob Proulx wrote:
> Colin Watson <cjwatson@debian.org> [2003-01-05 03:58:02 +0000]:
> > On Sat, Jan 04, 2003 at 05:23:13PM -0600, Ron Johnson wrote:
> > > Of course, if apt-get ever updates dhclient, the package may overwrite
> > > /etc/dhclient-script, so keep a seperate copy!!!!
> >
> > No, it won't. /etc/dhclient-script is marked as a conffile, so if you've
> > made local changes then they will be preserved; you'll be prompted to
> > merge changes from the package's copy if there are any.
>
> How is it possible to know that it is marked as a conffile?
Find the package in which it resides (using 'dpkg -S' or 'dlocate'),
then run 'dpkg -s <package>'. The conffiles will be listed.
Cheers,
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: