Project

General

Profile

Actions

Bug #10475

closed

pfSense-pkg-arpwatch unconditinally clobbers the arpwatch database files on upgrade

Added by Craig Leres about 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Category:
arpwatch
Target version:
-
Start date:
04/18/2020
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:

Description

I was surprised to find that upgrading the pfSense-pkg-arpwatch package today nuked all of my .dat files. There is an option to "clear database" which it says it will do this before starting arpwatch but that's not really what happens.

Currently (0.2.0_1) the .dat files are removed on install if the clear database option is set. They are always removed on deinstall (independent of the option).

It would make a lot more sense to me if the only time .dat files were removed was on deinstall and only if the "clear database" option is set. This would allow the user to populate the .dat files before installing pfSense-pkg-arpwatch (and avoid removing them when upgrading).

I created pull request #844 to implement this change.

Actions

Also available in: Atom PDF