Your message dated Wed, 01 May 2013 11:33:36 +0000
with message-id <e1uxvi0-00056w...@franck.debian.org>
and subject line Bug#706186: fixed in wims-moodle 4.0-4
has caused the Debian Bug report #706186,
regarding wims-moodle: modifies conffiles (policy 10.7.3): 
/etc/moodle/wimsconf.php, 
/usr/share/moodle/mod/assignment/type/wims/wimsconf.php
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.)


-- 
706186: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=706186
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: wims-moodle
Version: 4.0-3
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package modifies conffiles.
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...):

2m29.9s ERROR: FAIL: debsums reports modifications inside the chroot:
  /usr/share/moodle/mod/assignment/type/wims/wimsconf.php
  /etc/moodle/wimsconf.php


(/usr/share/moodle/mod/assignment/type/wims/wimsconf.php is not a
conffile, but modifying is is not allowed either)


cheers,

Andreas

Attachment: wims-moodle_4.0-3.log.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: wims-moodle
Source-Version: 4.0-4

We believe that the bug you reported is fixed in the latest version of
wims-moodle, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 706...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Georges Khaznadar <georg...@debian.org> (supplier of updated wims-moodle 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 01 May 2013 13:13:45 +0200
Source: wims-moodle
Binary: wims-moodle
Architecture: source all
Version: 4.0-4
Distribution: unstable
Urgency: low
Maintainer: Georges Khaznadar <georg...@debian.org>
Changed-By: Georges Khaznadar <georg...@debian.org>
Description: 
 wims-moodle - module for Moodle featuring Wims mini-classes
Closes: 706186
Changes: 
 wims-moodle (4.0-4) unstable; urgency=low
 .
   * modified the postinst script and the way used to introduce custom
     parameters; files installed by the package are no longer modified,
     the postinst script only creates a new file. Closes: #706186
Checksums-Sha1: 
 eb0928be6ee407e4e839ad98ba025e357c836071 1112 wims-moodle_4.0-4.dsc
 cacf67546d159049a704b74042cbe5239d12a37f 9380 wims-moodle_4.0-4.debian.tar.gz
 3f73781f8d78a2a487ffad6e7d1879bf7185c26c 27296 wims-moodle_4.0-4_all.deb
Checksums-Sha256: 
 92ca7fda165f6b056d27ade8c55c51bc05c6030e5920b0300ee147544a2f9cdc 1112 
wims-moodle_4.0-4.dsc
 3f3bb28541b32567983aaed56131c2bad7debe076ec6bcf21750043e2592db3d 9380 
wims-moodle_4.0-4.debian.tar.gz
 d1c5d61df63e6d8cd28abefb72abad55987da4a4edb6c7c56987c0de91184d33 27296 
wims-moodle_4.0-4_all.deb
Files: 
 eb497bc8881c931711b9a070c87fd377 1112 web extra wims-moodle_4.0-4.dsc
 8aa7cf36b498e1347fa715fc9656c47b 9380 web extra wims-moodle_4.0-4.debian.tar.gz
 041ee24b5b473e9500a2205a8fd7a419 27296 web extra wims-moodle_4.0-4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iD8DBQFRgPuanfmb2hFpETARAj0UAKCBSmXgM+biUrIERYv2m7RJPlTLlwCePzuv
KP+Pq8varchpXpcc2zQeMc8=
=FIYW
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to