Package: munin-node
Version: 2.0.1-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...):

0m31.7s INFO: Warning: Package purging left files on system:
  /etc/munin/plugins/cpu -> /usr/share/munin/plugins/cpu         not owned
  /etc/munin/plugins/diskstats -> /usr/share/munin/plugins/diskstats     not 
owned
  /etc/munin/plugins/entropy -> /usr/share/munin/plugins/entropy         not 
owned
  /etc/munin/plugins/forks -> /usr/share/munin/plugins/forks     not owned
  /etc/munin/plugins/fw_conntrack -> /usr/share/munin/plugins/fw_conntrack      
 not owned
  /etc/munin/plugins/fw_forwarded_local -> 
/usr/share/munin/plugins/fw_forwarded_local   not owned
  /etc/munin/plugins/fw_packets -> /usr/share/munin/plugins/fw_packets   not 
owned
  /etc/munin/plugins/if_br0 -> /usr/share/munin/plugins/if_      not owned
  /etc/munin/plugins/if_err_br0 -> /usr/share/munin/plugins/if_err_      not 
owned
  /etc/munin/plugins/if_err_eth0 -> /usr/share/munin/plugins/if_err_     not 
owned
  /etc/munin/plugins/if_eth0 -> /usr/share/munin/plugins/if_     not owned
  /etc/munin/plugins/interrupts -> /usr/share/munin/plugins/interrupts   not 
owned
  /etc/munin/plugins/irqstats -> /usr/share/munin/plugins/irqstats       not 
owned
  /etc/munin/plugins/load -> /usr/share/munin/plugins/load       not owned
  /etc/munin/plugins/memory -> /usr/share/munin/plugins/memory   not owned
  /etc/munin/plugins/nfs4_client -> /usr/share/munin/plugins/nfs4_client        
 not owned
  /etc/munin/plugins/nfs_client -> /usr/share/munin/plugins/nfs_client   not 
owned
  /etc/munin/plugins/nfsd -> /usr/share/munin/plugins/nfsd       not owned
  /etc/munin/plugins/nfsd4 -> /usr/share/munin/plugins/nfsd4     not owned
  /etc/munin/plugins/open_files -> /usr/share/munin/plugins/open_files   not 
owned
  /etc/munin/plugins/open_inodes -> /usr/share/munin/plugins/open_inodes        
 not owned
  /etc/munin/plugins/proc_pri -> /usr/share/munin/plugins/proc_pri       not 
owned
  /etc/munin/plugins/processes -> /usr/share/munin/plugins/processes     not 
owned
  /etc/munin/plugins/swap -> /usr/share/munin/plugins/swap       not owned
  /etc/munin/plugins/threads -> /usr/share/munin/plugins/threads         not 
owned
  /etc/munin/plugins/uptime -> /usr/share/munin/plugins/uptime   not owned
  /etc/munin/plugins/users -> /usr/share/munin/plugins/users     not owned
  /etc/munin/plugins/vmstat -> /usr/share/munin/plugins/vmstat   not owned

0m31.7s ERROR: FAIL: After purging files have disappeared:
  /etc/munin/plugin-conf.d/      owned by: munin-node, munin-plugins-core
  /var/lib/munin/        owned by: munin-node, munin-plugins-core
  /var/lib/munin/plugin-state/   owned by: munin-plugins-core


cheers,

Andreas

Attachment: munin-node_2.0.1-1.log.gz
Description: GNU Zip compressed data

Reply via email to