Python Module with FreeRADIUS 3.0.15

Gary Gwin garygwin at gmail.com
Wed Dec 13 21:18:17 CET 2017


Running the same basic Python example under Unbuntu 16.04 (xenial) with
FreeRADIUS 3.0.15 has the same crash results, however, "freeradius -X"
debug shows the seg fault:

# Instantiating module "python" from file
/etc/freeradius/mods-enabled/python
Python version: 2.7.12 (default, Nov 20 2017, 18:23:56)  [GCC 5.4.0
20160609]
Segmentation fault

Gary

On Tue, Dec 12, 2017 at 6:01 PM, Gary Gwin <garygwin at gmail.com> wrote:

> Trying to implement just the basic Python example as documented is not
> working with the FreeRADIUS 3.0.15 build on Unbuntu 14.04. After enabling
> and running "freeradius -X", FreeRADIUS exits with only this:
>
> # Instantiating module "python" from file /etc/freeradius/mods-enabled/
> python
> Python version: 2.7.6 (default, Oct 26 2016, 20:33:43)  [GCC 4.8.4]
>
> Other than enabling the the python module, the only other change was to
> enable the python_path and uncomment the "func_authorize = authorize" line
> in mods-available/python. The example.pyc is not created.
>
> Everything was working swimmingly under FreeRADIUS 3.0.12.
>
> Any ideas?
>
> Thanks,
>
> Gary
>


More information about the Freeradius-Users mailing list