OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 21.1 Legacy Series »
  • Freeradius fails to start after update to 21.1.7
« previous next »
  • Print
Pages: [1] 2 3

Author Topic: Freeradius fails to start after update to 21.1.7  (Read 12170 times)

athurdent

  • Full Member
  • ***
  • Posts: 171
  • Karma: 18
    • View Profile
Freeradius fails to start after update to 21.1.7
« on: June 16, 2021, 02:35:39 pm »
Log:

Code: [Select]
2021-06-16T14:31:55 Error: /usr/local/etc/raddb/mods-enabled/eap[15]: Instantiation failed for module "eap"
2021-06-16T14:31:55 Error: rlm_eap (EAP): Failed to link rlm_eap_leap: Cannot open "/usr/local/lib/freeradius-3*/rlm_eap_leap.so"

Tried deleting and reinstalling the plugin to no avail.
Logged

mrpink

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
    • View Profile
Re: Freeradius fails to start after update to 21.1.7
« Reply #1 on: June 16, 2021, 02:42:44 pm »
Cisco LEAP was removed in version 3.0.22

Quote
Remove native support for Cisco LEAP. It is insecure, and should not be used. Proxying LEAP is still supported.

Open the configuration /usr/local/etc/raddb/mods-available/eap and remove the section about leap and restart freeradius.

EDIT:

Even better, please open the file /usr/local/opnsense/service/templates/OPNsense/Freeradius/mods-enabled-eap and remove the leap section (lines 102 to 115).
« Last Edit: June 16, 2021, 02:49:26 pm by mrpink »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 12587
  • Karma: 1075
    • View Profile
Re: Freeradius fails to start after update to 21.1.7
« Reply #2 on: June 16, 2021, 03:00:47 pm »
Might be worth notifying the plugin maintainer.

For a quick fix:

# opnsense-revert -r 21.1.6 freeradius3


Cheers,
Franco
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 12587
  • Karma: 1075
    • View Profile
Re: Freeradius fails to start after update to 21.1.7
« Reply #3 on: June 16, 2021, 03:09:36 pm »
PS: ok, we have a ticket now https://github.com/opnsense/plugins/issues/2432
Logged

athurdent

  • Full Member
  • ***
  • Posts: 171
  • Karma: 18
    • View Profile
Re: Freeradius fails to start after update to 21.1.7
« Reply #4 on: June 16, 2021, 04:33:23 pm »
Wow, thank you very much mrpink, mimugmail and franco. Already fixed I see, great work!  :)
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 12587
  • Karma: 1075
    • View Profile
Re: Freeradius fails to start after update to 21.1.7
« Reply #5 on: June 16, 2021, 07:31:04 pm »
Team effort. Sometimes it's hard to protect against non-core changes in the ecosystem.

It will likely be hotfixed tomorrow for good measure.


Cheers,
Franco
Logged

szty0pa

  • Newbie
  • *
  • Posts: 34
  • Karma: 3
    • View Profile
Re: Freeradius fails to start after update to 21.1.7
« Reply #6 on: June 17, 2021, 05:08:17 pm »
Btw same (similar?) thing happens with PAP:
Code: [Select]
2021-06-17T16:58:51 radiusd[48579] /usr/local/etc/raddb/mods-enabled/pap[13]: Failed to link to module 'rlm_pap': Cannot open "/usr/local/lib/freeradius-3*/rlm_pap.so"
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 12587
  • Karma: 1075
    • View Profile
Re: Freeradius fails to start after update to 21.1.7
« Reply #7 on: June 18, 2021, 07:55:59 am »
Michael will take a look, although from the release notes nothing changed for PAP.

About LEAP it's a bit funny now that FreeRADIUS released 3.0.23[1] and it says...

> Silently ignore LEAP configuration instead of erroring out.

¯\_(ツ)_/¯


Cheers,
Franco

[1] https://freeradius.org/release_notes/?br=3.0.x&re=3.0.23
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6090
  • Karma: 420
    • View Profile
Re: Freeradius fails to start after update to 21.1.7
« Reply #8 on: June 18, 2021, 12:41:32 pm »
Quote from: szty0pa on June 17, 2021, 05:08:17 pm
Btw same (similar?) thing happens with PAP:
Code: [Select]
2021-06-17T16:58:51 radiusd[48579] /usr/local/etc/raddb/mods-enabled/pap[13]: Failed to link to module 'rlm_pap': Cannot open "/usr/local/lib/freeradius-3*/rlm_pap.so"

Does this happen during startup?
Logged
IRC: mimugmail
Twitter: mimu_muc
WWW: www.routerperformance.net
Commercial Plugins (German): https://opnsense.max-it.de/

zeitlins

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
    • View Profile
Re: Freeradius fails to start after update to 21.1.7
« Reply #9 on: June 19, 2021, 08:24:59 am »
Same here also get the pap[13] error, happens on start or restart of the Service the workaraound is working for now.

Thanks
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6090
  • Karma: 420
    • View Profile
Re: Freeradius fails to start after update to 21.1.7
« Reply #10 on: June 19, 2021, 09:54:18 am »
Which workaround?
Logged
IRC: mimugmail
Twitter: mimu_muc
WWW: www.routerperformance.net
Commercial Plugins (German): https://opnsense.max-it.de/

zeitlins

  • Newbie
  • *
  • Posts: 7
  • Karma: 0
    • View Profile
Re: Freeradius fails to start after update to 21.1.7
« Reply #11 on: June 19, 2021, 10:32:16 am »
Quote from: franco on June 16, 2021, 03:00:47 pm
Might be worth notifying the plugin maintainer.

For a quick fix:

# opnsense-revert -r 21.1.6 freeradius3


Cheers,
Franco
Logged

szty0pa

  • Newbie
  • *
  • Posts: 34
  • Karma: 3
    • View Profile
Re: Freeradius fails to start after update to 21.1.7
« Reply #12 on: June 21, 2021, 09:43:16 am »
Quote from: mimugmail on June 18, 2021, 12:41:32 pm
Quote from: szty0pa on June 17, 2021, 05:08:17 pm
Btw same (similar?) thing happens with PAP:
Code: [Select]
2021-06-17T16:58:51 radiusd[48579] /usr/local/etc/raddb/mods-enabled/pap[13]: Failed to link to module 'rlm_pap': Cannot open "/usr/local/lib/freeradius-3*/rlm_pap.so"

Does this happen during startup?

Yes this happens at startup and if/when i try to start radiusd manually. (Same thing happens with the freeradius plugin 1.9.13 as well.)
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6090
  • Karma: 420
    • View Profile
Re: Freeradius fails to start after update to 21.1.7
« Reply #13 on: June 21, 2021, 10:05:31 pm »
Doesnt happen on my side .. Screenshots please
Logged
IRC: mimugmail
Twitter: mimu_muc
WWW: www.routerperformance.net
Commercial Plugins (German): https://opnsense.max-it.de/

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 12587
  • Karma: 1075
    • View Profile
Re: Freeradius fails to start after update to 21.1.7
« Reply #14 on: June 22, 2021, 07:44:16 am »
Running a health audit would be beneficial to rule out local issues.


Cheers,
Franco
Logged

  • Print
Pages: [1] 2 3
« previous next »
  • OPNsense Forum »
  • Archive »
  • 21.1 Legacy Series »
  • Freeradius fails to start after update to 21.1.7
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2022 All rights reserved
  • SMF 2.0.18 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2