Your message dated Wed, 24 Mar 2010 20:25:53 +0000 (WET)
with message-id <[email protected]>
and subject line Package nagios-mysql has been removed from Debian
has caused the Debian Bug report #410313,
regarding nagios-mysql: Postrm script issue: config file should be remove with 
ucf too
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 [email protected]
immediately.)


-- 
410313: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=410313
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nagios-mysql
Version: 1.4-3
Severity: normal
Tags: patch

Hy,

Takink inspiration for the nagios-mysql package, I founded an issue in
the postrm script. 

1- When you purge the package you should run ucf too to get ride of the
debian db-config file
See
http://people.debian.org/~seanius/policy/dbconfig-common.html/ch-develguide.html#s-genconfig

for more info about the subject.

2- cgi.cfg is also produced with ucf so you also need to remove it

Patch included corrects this two errors. It should also be applied on
mysql-pgsql.postrm

Best regards,




-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
--- nagios-mysql.postrm.orig    2007-02-09 14:49:10.589144939 +0100
+++ nagios-mysql.postrm 2007-02-09 14:53:54.603429230 +0100
@@ -16,6 +16,11 @@
 
 if [ "$1" = "purge" ]; then
        rm -f /etc/nagios/database.cfg
+       rm -f /etc/nagios/cgi.cfg
+       if which ucf >/dev/null 2>&1; then
+               ucf --purge /etc/nagios/database.cfg
+               ucf --purge /etc/nagios/cgi.cfg
+       fi
 fi
 
 #DEBHELPER#

--- End Message ---
--- Begin Message ---
Version: 2:1.4-3.2+rm

You filed the bug http://bugs.debian.org/410313 in Debian BTS
against the package nagios-mysql. I'm closing it at *unstable*, but it will
remain open for older distributions.

For more information about this package's removal, read
http://bugs.debian.org/464774. That bug might give the reasons why
this package was removed and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

--
Marco Rodrigues


--- End Message ---

Reply via email to