Freeradius2 removal breaks racoon (IPsec)
-
After removing freeradius2, racoon refuses to start. Logs show that it might be removing system files that should remain resident post-removal.
Shared object "libsasl2.so.2" not found, required by "libldap-2.4.so.8"
Reinstalling freeradius2 brought my IPsec VPN back online.
-
You will need to install package dependencies after freeradius deinstall.
I386
http://files.pfsense.org/packages/8/All/openldap-sasl-client-2.4.23.tbz -
You will need to install package dependencies after freeradius deinstall.
I386
http://files.pfsense.org/packages/8/All/openldap-sasl-client-2.4.23.tbzIs there a way to prevent freeraidus2 from uninstalling the openldap dependencies ?
Or should I implement some code on the deinstall routine of freeradius2 package which checks if openldap package is still installed on the system or needs to be reinstalled !? -
It's not on freeradius code, when you uninstall a package it removes dependencies.
It happens with a lot of packages
-
Fixed, thanks for the heads up marcelloc. Two packages needed to be put back in. racoon now runs without reinstalling freeradius2. Learned my lesson, will use a sandbox to play with pfsense packages, didn't expect the domino effect there.
cd /tmp/
fetch http://files.pfsense.org/packages/amd64/8/All/cyrus-sasl-2.1.25_1.tbz
fetch http://files.pfsense.org/packages/amd64/8/All/openldap-sasl-client-2.4.23.tbz
pkg_add cyrus-sasl-2.1.25_1.tbz
pkg_add openldap-sasl-client-2.4.23.tbz -
it doesn't happen with many packages anymore as we take some precautions to prevent it as much as possible, but it does happen on some, have to be careful when messing with packages. 2.1 uses PBI packages to eliminate such dependency hell.