Bug#687818: tomcat6: postinst modifies conffile /etc/logrotate.d/tomcat6
Andreas Beckmann
debian at abeckmann.de
Sun Sep 16 09:48:53 UTC 2012
Package: tomcat6
Version: 6.0.35-4
Severity: serious
Justification: Policy 10.7.3
User: debian-qa at lists.debian.org
Usertags: piuparts
Control: found -1 tomcat6/6.0.35-1+squeeze2
Hi,
during a test with piuparts I noticed that your package ships a conffile
that is modified by the postinst script. This is forbidden by the
policy, see
http://www.debian.org/doc/debian-policy/ch-files.html#s-config-files
"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)."
The mishandled conffile is /etc/logrotate.d/tomcat6
Cheers,
Andreas
More information about the pkg-java-maintainers
mailing list