This bug was fixed in the package freeradius - 3.0.20+dfsg-3ubuntu0.1
---
freeradius (3.0.20+dfsg-3ubuntu0.1) focal; urgency=medium
* Fix loading of rlm_python3 (LP: #1873923):
- d/p/py3.8-libname-fix.patch: fix the python library name that
freeradius is looking for when
Focal verification
Problem reproduced with focal packages 3.0.20+dfsg-3build1
May 12 19:05:28 focal-freeradius-1873923 freeradius[3976]: Python version:
3.8.10 (default, Mar 15 2022, 12:22:08) [GCC 9.4.0]
May 12 19:05:28 focal-freeradius-1873923 freeradius[3976]: Libpython is not
found among
Hello synapse, or anyone else affected,
Accepted freeradius into focal-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/freeradius/3.0.20+dfsg-3ubuntu0.1
in a few hours, and then in the -proposed repository.
Please help us by testing this new package.
** Description changed:
[Impact]
The python3 rlm module cannot be loaded.
[Test Plan]
# pull the necessary attachments
wget
https://bugs.launchpad.net/ubuntu/+source/freeradius/+bug/1873923/+attachment/5580525/+files/ubuntu_example.py
** Description changed:
[Impact]
The python3 rlm module cannot be loaded.
[Test Plan]
# pull the necessary attachments
wget
https://bugs.launchpad.net/ubuntu/+source/freeradius/+bug/1873923/+attachment/5580525/+files/ubuntu_example.py
Focal update uploaded, it's in focal-unapproved now
$ dput ubuntu ../freeradius_3.0.20+dfsg-3ubuntu0.1_source.changes
Uploading freeradius using ftp to ubuntu (host: upload.ubuntu.com; directory:
/ubuntu)
running badauthor: Stop if uploading with root@ or ubuntu@ email adresses.
running
** Description changed:
[Impact]
The python3 rlm module cannot be loaded.
[Test Plan]
# pull the necessary attachments
wget
https://bugs.launchpad.net/ubuntu/+source/freeradius/+bug/1873923/+attachment/5580525/+files/ubuntu_example.py
** Description changed:
[Impact]
The python3 rlm module cannot be loaded.
[Test Plan]
# pull the necessary attachments
wget
https://bugs.launchpad.net/ubuntu/+source/freeradius/+bug/1873923/+attachment/5580525/+files/ubuntu_example.py
** Merge proposal linked:
https://code.launchpad.net/~ahasenack/ubuntu/+source/freeradius/+git/freeradius/+merge/419511
--
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
** Attachment added: "python3"
https://bugs.launchpad.net/ubuntu/+source/freeradius/+bug/1873923/+attachment/5580526/+files/python3
** Description changed:
[Impact]
The python3 rlm module cannot be loaded.
[Test Plan]
# pull the necessary attachments
- wget ...
+ wget
** Description changed:
+ [Impact]
+
+ * An explanation of the effects of the bug on users and
+
+ * justification for backporting the fix to the stable release.
+
+ * In addition, it is helpful, but not required, to include an
+explanation of how the upload fixes this bug.
+
+ [Test
I identified the necessary fixes and came up with a test case.
--
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
I found some issues and am working through them in
https://code.launchpad.net/~ahasenack/ubuntu/+source/freeradius/+git/freeradius/+ref/focal-
freeradius-py3.8-1873923. It's not ready yet, though.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed
** Changed in: freeradius (Ubuntu Focal)
Assignee: Lena Voytek (lvoytek) => Andreas Hasenack (ahasenack)
--
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
This bug was fixed in the package freeradius -
3.0.26~dfsg~git20220223.1.00ed0241fa-0ubuntu3
---
freeradius (3.0.26~dfsg~git20220223.1.00ed0241fa-0ubuntu3) jammy; urgency=medium
* d/p/fix-python-version-parsing.patch: fix parsing of python versions
with multiple digits (LP:
** Merge proposal linked:
https://code.launchpad.net/~ahasenack/ubuntu/+source/freeradius/+git/freeradius/+merge/417631
--
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
The AX_COMPARE_VERSION function it fine, what's wrong is the python
version it is fed: 3.1
That comes from "import sys; sys.stdout.write(sys.version[:3])" which
doesn't work for minor versions with more than one digit...
--
You received this bug notification because you are a member of Ubuntu
** Changed in: freeradius (Ubuntu)
Status: Triaged => In Progress
--
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
Bah, yeah, 3.10 is converted into 3.1, which is lower than 3.8 :D
checking for python3-config... python3-config
configure: python3-config's cflags were "-I/usr/include/python3.10
-I/usr/include/python3.10 -Wno-unused-result -Wsign-compare -g
-fstack-protector-strong -Wformat
I wonder if this version comparison started failing with python 3.10...
AX_COMPARE_VERSION(${PYTHON_VERSION}, [ge], [3.8], [EMBED="--embed"],
[])
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1873923
On debian sid (3.0.25+dfsg-1+b1), where it starts:
# ldd /usr/lib/freeradius/rlm_python3.so
linux-vdso.so.1 (0x7ffef8ba8000)
libpython3.9.so.1.0 => /lib/x86_64-linux-gnu/libpython3.9.so.1.0
(0x7fe1e000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
A similar error happens with the current version in jammy:
Wed Mar 23 16:58:54 2022 : Error: /etc/freeradius/3.0/mods-
enabled/python3[9]: Failed to link to module 'rlm_python3':
/usr/lib/freeradius/rlm_python3.so: undefined symbol: PyTuple_Type
Looks like it's
** Changed in: freeradius (Ubuntu Focal)
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
other issues with the package that prevent it to start in jammy:
- directory sites-enabled is not created
- "The server is not configured to listen on any ports. Cannot start"
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Changed in: freeradius (Ubuntu Focal)
Status: Confirmed => In Progress
--
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
** Also affects: freeradius (Ubuntu Focal)
Importance: Undecided
Status: New
** Changed in: freeradius (Ubuntu Focal)
Status: New => Confirmed
** Changed in: freeradius (Ubuntu Focal)
Assignee: (unassigned) => Lena Voytek (lvoytek)
--
You received this bug notification
** Changed in: freeradius (Ubuntu)
Assignee: (unassigned) => Lena Voytek (lvoytek)
--
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
It would be nice to report this to Debian as well. Then, we could get
this one fixed in Debian and keep it as a sync.
** Changed in: freeradius (Ubuntu)
Status: Confirmed => Triaged
** Tags added: server-todo
--
You received this bug notification because you are a member of Ubuntu
Bugs,
I've upgraded from buster where python(2) module was working. Now in
focal it seems none of python or python3 works.
Python2 gives:
/etc/freeradius/3.0/mods-enabled/python[9]: Failed to link to module
'rlm_python': /usr/lib/freeradius/rlm_python.so: cannot open shared object
file: No such file
Is someone working on this?
--
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
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/
$
31 matches
Mail list logo