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

Bug#762584: apache2: silently changes user configuration /etc/logrotate.d/apache2



On 2014-09-23 15:06:08 +0200, Arno Töll wrote:
> On 23.09.2014 15:01, Vincent Lefevre wrote:
> > On 2014-09-23 14:43:49 +0200, Arno Töll wrote:
> >> We install this file through dh_installlogrotate and it is listed as a
> >> conffile in the binary package of apache2. That means, it will be
> >> handled like any other configuration file in Debian with special care
> >> and it won't overwrite changes YOU made.
> > 
> > OK, but then, is there any reason not to announce it in the NEWS file?
> > This is a significant configuration change!
> 
> This is a change like the ones which happen every day in Debian during
> an update. It's not "newsworthy" I think.

Well, I disagree. I often upgrade my machines, often see changes,
but these are rather internal changes.

> > Unfortunately it doesn't seem to be possible to hint dpkg: according
> > to the dpkg(1) man page, all the conffile related options are in the
> > case "If a conffile is missing" or "If a conffile has been modified"
> > (while here it exists, but was not modified because the default was
> > OK).
> 
> You're looking for --force-confold. See
> http://raphaelhertzog.com/2010/09/21/debian-conffile-configuration-file-managed-by-dpkg/
> for all details.

No, --force-confold does something different: it keeps the old
conffile only when it has been *modified* by the user. And it
doesn't prompt. It does not seem to be possible to have:

  If the version of a conffile in the package did change, always
  prompt (even if the user did *not* modify the conffile).

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: