Bug #1852
closedSnort and IP-Block Installation/Deintsallation issue
0%
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
Updated by Chris Buechler over 13 years ago
- Assignee deleted (
Darko Arandjelovic) - Target version deleted (
2.0.1) - Affected Version deleted (
2.0)
Updated by thomas schaefer over 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?
Updated by Chris Buechler over 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.
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.