Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 2004 00:07:04 +0900 (JST)
From:      kasahara@nc.kyushu-u.ac.jp
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/65440: munin-node port removes customized plugins upon deinstall
Message-ID:  <200404111507.i3BF74DU005629@nitty.cc.kyushu-u.ac.jp>
Resent-Message-ID: <200404111510.i3BFANPW089036@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         65440
>Category:       ports
>Synopsis:       munin-node port removes customized plugins upon deinstall
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 11 08:10:23 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Yoshiaki Kasahara
>Release:        FreeBSD 4.9-SECURITY i386
>Organization:
Kyushu University
>Environment:
System: FreeBSD nitty.cc.kyushu-u.ac.jp 4.9-SECURITY FreeBSD 4.9-SECURITY #0: Wed Mar 3 01:22:15 GMT 2004 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:

	pkg-plist of munin-node-1.0.0.p3_1 still contains 
	'rm -rf %D/etc/munin/plugins', so customized plugin files in the
	directory will be removed when it is uninstalled.  Upgrading the
	port is dangerous....  deinstalling port shouldn't remove the
	modified files, I believe.

        Also, I guess modified config files will be deleted too...
	(I didn't try that yet)

>How-To-Repeat:
   
        deinstall the package.

>Fix:

        delete 'rm -rf' line from plist
	similar modification check of config files such as apache2 ports
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404111507.i3BF74DU005629>