Comment 1 for bug 1873923

Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

Thanks for the bug report! I have tried to reproduce this issue in a LXD Focal container and it fails while loading the python3 module as mentioned above:

$ apt-get install -y freeradius freeradius-python3
$ ln -s /etc/freeradius/3.0/mods-available/python3 /etc/freeradius/3.0/mods-enabled/
$ systemctl stop freeradius
$ freeradius -Xx
...
Wed Apr 22 18:39:51 2020 : Debug: # Instantiating module "python3" from file /etc/freeradius/3.0/mods-enabled/python3
Wed Apr 22 18:39:51 2020 : Info: Python version: 3.8.2 (default, Mar 13 2020, 10:14:16) [GCC 9.3.0]
Wed Apr 22 18:39:51 2020 : Warning: Libpython is not found among linked libraries
Wed Apr 22 18:39:51 2020 : Warning: Failed loading libpython symbols into global symbol table
Wed Apr 22 18:39:52 2020 : Error: do_python_single:568, instantiate - pRet is NULL
Wed Apr 22 18:39:52 2020 : Error: python_error_log:200, Exception type: <class 'SystemError'>, Exception value: null argument to internal routine
Wed Apr 22 18:39:52 2020 : Error: do_python_single:676, instantiate - RLM_MODULE_FAIL
...