Bug#688199: bacula-director-sqlite3: modifies conffiles (policy 10.7.3): /etc/bacula/scripts/delete_catalog_backup

2012-10-06 Thread Alexander Golovko
tags 688199 + pending
--

В Mon, 24 Sep 2012 13:12:48 +0400
Alexander Golovko alexan...@ankalagon.ru пишет:

 Hi!
 
 Thank you for report!
 
 This is a result of our fix #656912.
 We should switch this file to ucf control or revert this changes.

Fixed in git master branch. This changes will be included in next
upload.

 
 But changes in config file are not dangerous for users.
 
 В Thu, 20 Sep 2012 10:46:44 +0200
 Andreas Beckmann deb...@abeckmann.de пишет:
 
  Package: bacula-director-sqlite3
  Version: 5.2.6+dfsg-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...):
  
/etc/bacula/scripts/delete_catalog_backup
  
  
  cheers,
  
  Andreas
 
 
 


-- 
with best regards,
Alexander Golovko
email: alexan...@ankalagon.ru
xmpp: alexan...@ankalagon.ru


signature.asc
Description: PGP signature


Bug#688199: [pkg-bacula-devel] Bug#688199: bacula-director-sqlite3: modifies conffiles (policy 10.7.3): /etc/bacula/scripts/delete_catalog_backup

2012-09-24 Thread Alexander Golovko
Hi!

Thank you for report!

This is a result of our fix #656912.
We should switch this file to ucf control or revert this changes.

But changes in config file are not dangerous for users.

В Thu, 20 Sep 2012 10:46:44 +0200
Andreas Beckmann deb...@abeckmann.de пишет:

 Package: bacula-director-sqlite3
 Version: 5.2.6+dfsg-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...):
 
   /etc/bacula/scripts/delete_catalog_backup
 
 
 cheers,
 
 Andreas



-- 
with best regards,
Alexander Golovko
email: alexan...@ankalagon.ru
xmpp: alexan...@ankalagon.ru


signature.asc
Description: PGP signature


Bug#688199: bacula-director-sqlite3: modifies conffiles (policy 10.7.3): /etc/bacula/scripts/delete_catalog_backup

2012-09-20 Thread Andreas Beckmann
Package: bacula-director-sqlite3
Version: 5.2.6+dfsg-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...):

  /etc/bacula/scripts/delete_catalog_backup


cheers,

Andreas


bacula-director-sqlite3_5.2.6+dfsg-3.log.gz
Description: GNU Zip compressed data