[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Init scripts as conffiles

On Tue, 15 Feb 2011 22:50:53 +0100
Sven Joachim <svenjoac@gmx.de> wrote:

> On 2011-02-15 22:24 +0100, Boyd Stephen Smith Jr. wrote:
> > On Tuesday 15 February 2011 15:16:27 Tony Houghton wrote:
> >> How about I file a wishlist bug for dpkg and apt for an option
> >> similar to purge but which only purges files which haven't been
> >> altered from the package's default?
> >
> > From what I understand, neither APT nor dpkg know if a file has
> > been modified since it has been installed.
> Well, dpkg stores the md5sum of conffiles in its database and thus
> knows when they are modified, so removing unmodified conffiles would
> be possible in theory.  However, the dpkg developers don't think this
> is a good idea:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=351900.

They didn't say they don't think it's a good idea, just that they didn't
see the point, but I think a point similar to mine (that something like
purge that only purges unmodified files and keeps mosified ones would be
good) was in a later post that they overlooked.

Reply to: