LEDE 17.01.0 - Problem/Error in FreeRadius3 packages. Please fix it!

The problem is that packages freeradius3-mod-eap-peap and freeradius3-mod-eap-ttls can't be installed at the same time. For example, if freeradius3-mod-eap-peap is installed first, then you get an error message for freeradius3-mod-eap-ttls:

  • check_data_file_clashes: Package freeradius3-mod-eap-ttls wants to install file /etc/freeradius3/sites-enabled/inner-tunnel But that file is already provided by package * freeradius3-mod-eap-peap
  • opkg_install_cmd: Cannot install package freeradius3-mod-eap-ttls.

As a result, the daemon doesn't work and the log reports this:

Mon Feb 20 17:35:28 2017 : Error: rlm_eap (EAP): Failed to link rlm_eap_ttls: Error loading shared library /usr/lib/freeradius3/rlm_eap_ttls.so: No such file or directory
Mon Feb 20 17:35:28 2017 : Error: /etc/freeradius3/mods-enabled/eap[14]: Instantiation failed for module "eap"
Mon Feb 20 17:35:33 2017 : Info: Debugger not attached
Mon Feb 20 17:35:34 2017 : Error: rlm_eap (EAP): Failed to link rlm_eap_ttls: Error loading shared library /usr/lib/freeradius3/rlm_eap_ttls.so: No such file or directory
Mon Feb 20 17:35:34 2017 : Error: /etc/freeradius3/mods-enabled/eap[14]: Instantiation failed for module "eap"
Mon Feb 20 17:35:39 2017 : Info: Debugger not attached
Mon Feb 20 17:35:39 2017 : Error: rlm_eap (EAP): Failed to link rlm_eap_ttls: Error loading shared library /usr/lib/freeradius3/rlm_eap_ttls.so: No such file or directory
Mon Feb 20 17:35:39 2017 : Error: /etc/freeradius3/mods-enabled/eap[14]: Instantiation failed for module "eap"
Mon Feb 20 17:35:45 2017 : Info: Debugger not attached
Mon Feb 20 17:35:45 2017 : Error: rlm_eap (EAP): Failed to link rlm_eap_ttls: Error loading shared library /usr/lib/freeradius3/rlm_eap_ttls.so: No such file or directory
Mon Feb 20 17:35:45 2017 : Error: /etc/freeradius3/mods-enabled/eap[14]: Instantiation failed for module "eap"
Mon Feb 20 17:35:50 2017 : Info: Debugger not attached
Mon Feb 20 17:35:50 2017 : Error: rlm_eap (EAP): Failed to link rlm_eap_ttls: Error loading shared library /usr/lib/freeradius3/rlm_eap_ttls.so: No such file or directory
Mon Feb 20 17:35:50 2017 : Error: /etc/freeradius3/mods-enabled/eap[14]: Instantiation failed for module "eap"

The obvious solution is to install the freeradius3-mod-eap-ttls package with option --force-overwrite but I think it's better to fix the packages!

Thank's for reading!

Perhaps we should file a bug instead:

https://lede-project.org/bugs

Also, the democerts package needs to be updated.

Cheers.

Reference: Setting Up freeradius3

And I thought I was the only one who's using FreeRadius... :yum:
I'll leave the bug report to you and I hope to see it fixed.

Cheers!

Done. Hope you don't mind that I just copied your description over there:

https://bugs.lede-project.org/index.php?do=details&task_id=678

Cheers.

Not at all!
C U

Pushed a fix for this and the demo cert issue to the packages repo on github :slight_smile:

1 Like

Cool, thank's.