Bug 54465 - ipfm (/usr/ports/ipfm) destroys all accouting info on removal
Summary: ipfm (/usr/ports/ipfm) destroys all accouting info on removal
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-14 09:30 UTC by Phil Regnauld
Modified: 2003-09-30 15:36 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (191 bytes, patch)
2003-07-14 09:30 UTC, Phil Regnauld
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Regnauld 2003-07-14 09:30:20 UTC
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
Comment 1 Phil Regnauld 2003-07-14 09:35:04 UTC
	Make that patch:

--- pkg-plist.orig      Mon Jul 14 10:34:52 2003
+++ pkg-plist   Mon Jul 14 10:34:49 2003
@@ -1,4 +1,3 @@
 sbin/ipfm
 etc/ipfm.conf
 @exec mkdir -p /var/log/ipfm
-@unexec rm -rf /var/log/ipfm
Comment 2 Oliver Lehmann 2003-08-02 14:53:06 UTC
Followups:
	ports/54480
	ports/54484
Comment 3 Yen-Ming Lee freebsd_committer freebsd_triage 2003-09-30 15:36:06 UTC
State Changed
From-To: open->closed

Committed, thanks.