Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2003 10:23:00 +0200 (CEST)
From:      Phil Regnauld <regnauld@catpipe.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        roman@xpert.com
Subject:   ports/54465: ipfm (/usr/ports/ipfm) destroys all accouting info on removal
Message-ID:  <20030714082300.3FFD72D83@vinyl.catpipe.net>
Resent-Message-ID: <200307140830.h6E8ULMk077999@freefall.freebsd.org>

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

>Number:         54465
>Category:       ports
>Synopsis:       ipfm (/usr/ports/ipfm) destroys all accouting info on removal
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 14 01:30:20 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Phil Regnauld
>Release:        FreeBSD 4.8-RC i386
>Organization:
catpipe Systems ApS
>Environment:
System: FreeBSD vinyl.catpipe.net 4.8-RC FreeBSD 4.8-RC #1: Sat Mar 15 21:37:45 CET 2003 root@chef.catpipe.net:/data/obj/data/src/sys/CATPIPE-IPSEC i386

>Description:

The ipfm package/port (/usr/ports/net/ipfm) does this on removal:

@unexec rm -rf /var/log/ipfm

This is plain fucking stupid.  Great way to lose 6 months of
statistics (I just did).

>How-To-Repeat:

pkg_delete ipfm-0.11.x

>Fix:

--- pkg-plist.orig      Mon Jul 14 10:23:07 2003
+++ pkg-plist   Mon Jun 17 09:52:35 2002
@@ -1,3 +1,4 @@
 sbin/ipfm
 etc/ipfm.conf
 @exec mkdir -p /var/log/ipfm
+@unexec rm -rf /var/log/ipfm

>Release-Note:
>Audit-Trail:
>Unformatted:



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