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
...


** Changed in: freeradius (Ubuntu)
       Status: New => Confirmed

** Changed in: freeradius (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1873923

Title:
  freeradius with freeradius-python3 fails to start out of the box

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freeradius/+bug/1873923/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to