Your message dated Wed, 03 Oct 2012 19:14:45 +0200
with message-id <506c7285....@abeckmann.de>
and subject line Re: Bug#688739: grub-common: modifies conffiles during upgrade 
(policy 10.7.3): /etc/grub.d/05_debian_theme
has caused the Debian Bug report #688739,
regarding grub-common: modifies conffiles during upgrade (policy 10.7.3): 
/etc/grub.d/05_debian_theme
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
688739: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688739
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: grub-common
Version: 1.99-22.1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts
Control: affects -1 + grub-pc grub-ieee1275 grub-efi-ia32 grub-efi-amd64 
grub-coreboot

Hi,

during a test with piuparts I noticed that some package modifies your
conffile /etc/grub.d/05_debian_theme during the squeeze->wheezy
distupgrade.
This is forbidden by the policy, see
http://www.debian.org/doc/debian-policy/ch-files.html#s-config-files

10.7.3: "[...] The easy way to achieve this behavior is to make the
configuration file a conffile. [...] This implies that the default
version will be part of the package distribution, and must not be
modified by the maintainer scripts during installation (or at any
other time)."

Note that once a package ships a modified version of that conffile,
dpkg will prompt the user for an action how to handle the upgrade of
this modified conffile (that was not modified by the user).

Further in 10.7.3: "[...] must not ask unnecessary questions
(particularly during upgrades) [...]"

If a configuration file is customized by a maintainer script after
having asked some debconf questions, it may not be marked as a
conffile. Instead a template could be installed in /usr/share and used
by the postinst script to fill in the custom values and create (or
update) the configuration file (preserving any user modifications!).
This file must be removed during postrm purge.
ucf(1) may help with these tasks.
See also http://wiki.debian.org/DpkgConffileHandling

In https://lists.debian.org/debian-devel/2012/09/msg00412.html and
followups it has been agreed that these bugs are to be filed with
severity serious.

debsums reports modification of the following files,
from the attached log (scroll to the bottom...):

  /etc/grub.d/05_debian_theme

This is triggered by testing the folowing packages: 

  grub-pc
  grub-ieee1275
  grub-efi-ia32
  grub-efi-amd64
  grub-coreboot

cheers,

Andreas

Attachment: grub-pc_1.99-22.1.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
user debian...@lists.debian.org
usertag 688739 - piuparts

On 2012-09-27 01:50, Andreas Beckmann wrote:
> On 2012-09-25 12:22, Colin Watson wrote:
>> On Tue, Sep 25, 2012 at 11:58:36AM +0200, Andreas Beckmann wrote:
>>> during a test with piuparts I noticed that some package modifies your
>>> conffile /etc/grub.d/05_debian_theme during the squeeze->wheezy
>>> distupgrade.
>>
>> Do you have any way to tell what does that?  To the best of my
>> knowledge, nothing in the GRUB packaging itself touches this conffile in
>> impermissible ways.
> 
> I tried to debug this a bit more, tried to blame it on debsums
> (#688914), but maybe it should better be blamed on dpkg.
> /etc/grub.d/05_debian_theme is a conffile owned by grub-pc in squeeze
> and grub-common in wheezy. Looks like this takeover is not handled properly.

Let's fix debsums, see #689508.


Andreas

--- End Message ---

Reply via email to