Closed fredreichbier closed 5 years ago
On Ubuntu 16.04, the upgrade to privacyidea-radius 3.1~dev1 fails because freeradius cannot be restarted. freeradius -X prints the following:
freeradius -X
Module: Instantiating module "perl" from file /etc/freeradius/modules/mods-perl-privacyidea perl { module = "module" func_authorize = "authorize" func_authenticate = "authenticate" func_accounting = "accounting" func_preacct = "preacct" func_checksimul = "checksimul" func_detach = "detach" func_xlat = "xlat" func_pre_proxy = "pre_proxy" func_post_proxy = "post_proxy" func_post_auth = "post_auth" func_recv_coa = "recv_coa" func_send_coa = "send_coa" } Can't open perl script "module": No such file or directory rlm_perl: perl_parse failed: module not found or has syntax errors. /etc/freeradius/modules/mods-perl-privacyidea[1]: Instantiation failed for module "perl" /etc/freeradius/sites-enabled/privacyidea[20]: Failed to find "perl" in the "modules" section. /etc/freeradius/sites-enabled/privacyidea[20]: Failed to parse "perl" entry.
I think this is because of a typo in mods-perl-privacyidea: https://github.com/privacyidea/FreeRADIUS/blob/cfdcf4951dc1fded07103ee653d1948e53433225/config/freeradius3/mods-perl-privacyidea#L2 filename should be module. With this change, FreeRADIUS starts again.
mods-perl-privacyidea
filename
module
On Ubuntu 16.04, the upgrade to privacyidea-radius 3.1~dev1 fails because freeradius cannot be restarted.
freeradius -X
prints the following:I think this is because of a typo in
mods-perl-privacyidea
: https://github.com/privacyidea/FreeRADIUS/blob/cfdcf4951dc1fded07103ee653d1948e53433225/config/freeradius3/mods-perl-privacyidea#L2filename
should bemodule
. With this change, FreeRADIUS starts again.