Project

General

Profile

Actions

Bug #1852

closed

Snort and IP-Block Installation/Deintsallation issue

Added by Darko Arandjelovic about 13 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
09/07/2011
Due date:
% Done:

0%

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

Description

If you install snort, it replaces system Perl with Perl-multi-threaded. Once you remove snort it removes Perl-multi-threaded completely. So, you end up with a system w/o Perl on it.
As IP-Block uses a Perl to generate the ipfw.ipfw file, you end up with an empty ipfw.ipfw file, and non-functional IP-Block.
The work around is to manually install Perl with pkg_add after the removal of snort. It took me few hours to find out.
The fix would be for snort de-installation script to re-instate some version of Perl.
Tried on 2 systems (pfSense 2.0-RC3 – iso installation/no snapshot), both system behaved the same.

Darko

Actions #1

Updated by Chris Buechler about 13 years ago

  • Assignee deleted (Darko Arandjelovic)
  • Target version deleted (2.0.1)
  • Affected Version deleted (2.0)
Actions #2

Updated by thomas schaefer about 13 years ago

Not really avoidable if multiple packages use a particular dependency and cleanup during install. Perhaps a solution is to leave perl on the system after uninstall?

I can comment out the removal of perl at uninstall for IP-Blocklist but is there a better solution?

Actions #3

Updated by Chris Buechler about 13 years ago

  • Category deleted (Snort)

This is a general issue with packages that have conflicting dependencies. We expect to switch packages to PBIs in the future where they have self-contained dependencies and can't interfere with each other, which is the best way to avoid these issues in general. I don't know this can be reasonably fixed or should be until then.

Actions #4

Updated by Jim Pingle almost 12 years ago

  • Status changed from New to Closed

As Chris said, it will be OK on 2.1. No easy fix until then.

Actions

Also available in: Atom PDF