Your message dated Wed, 8 Aug 2012 00:41:30 +0200 with message-id <20120807224130.gb11...@javifsp.no-ip.org> and subject line Re: Bug#681967: snort-pgsql: removes files that were installed by another package: /etc/snort/database.conf has caused the Debian Bug report #681967, regarding snort-pgsql: removes files that were installed by another package: /etc/snort/database.conf 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.) -- 681967: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681967 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Package: snort-pgsql Version: 2.9.2.2-2.1 Severity: serious User: debian...@lists.debian.org Usertags: piuparts Hi, during a test with piuparts I noticed your package removes files that were installed by another package. The removed files were already present before the package was installed, they may have been shipped or created by a dependency. This could be a violation of policy 10.7.4 ("Sharing configuration files"), see http://www.debian.org/doc/debian-policy/ch-files.html#s10.7.4 or policy chapter 6 ("Package maintainer scripts..."), see http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html or policy 7.6 ("Overwriting files..."), see http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces If a directory is used by several packages, all should ship it as part of the package (possibly empty, using $package.dirs to create it), and no package should mkdir/rmdir it in the maintainer scripts as dpkg will take care of this. >From the attached log (scroll to the bottom...): 0m32.2s ERROR: FAIL: After purging files have disappeared: /etc/snort/database.conf not owned 0m32.2s ERROR: FAIL: After purging files have been modified: /etc/snort/snort.conf owned by: snort-common cheers, Andreas
snort-pgsql_2.9.2.2-2.1.log.gz
Description: GNU Zip compressed data
--- End Message ---
--- Begin Message ---On Wed, Jul 18, 2012 at 10:59:17AM +0200, Andreas Beckmann wrote: > Hi, > > during a test with piuparts I noticed your package removes files that > were installed by another package. This is not correct. I believe this is a false positive: > The removed files were already present before the package was installed, > they may have been shipped or created by a dependency. No, in this case, the removed file (not file*s*) was created by the package itself. > >From the attached log (scroll to the bottom...): > > 0m32.2s ERROR: FAIL: After purging files have disappeared: > /etc/snort/database.conf not owned This file is generated automatically by snort-mysql's postinst script. Since the package is removing on purge a file it created on postinst, I don't believe this is an issue. Note: This same configuration file is also generated by snort-pgsql, but it is *not* reasonable for users to install both. > 0m32.2s ERROR: FAIL: After purging files have been modified: > /etc/snort/snort.conf owned by: snort-common The contents of this file are not modified by any of snort-pgsql's scripts, so I believe this report is not correct. The log does not indicate which modifications it has found, so I cannot determine why is it complaining about this. Regards Javier
signature.asc
Description: Digital signature
--- End Message ---