Package: munin
Version: 1.4.5-3
Severity: normal

When installing munin for the first time, it does create a link
ln -s /etc/munin/apache.conf /etc/apache2/conf.d/munin

The problem is that the creation is made in the configure part of the postinst, 
without any 
test on wether it's or not an upgrade

If a local admin removes /etc/apache2/conf.d/munin with a simple rm , on the 
nest upgrade of the package, the link will be made again.
This should not be, as a package should not touch the configuration made by an 
admin.

So the link should only be made on primo install (inside the [ -z "$2" ] test ) 
and not on any configure.

-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to