Hide Forgot
Clone of bz#1772988: Description of problem: On RHEL 8 UBI x86_64 (I haven't checked other versions) on all Python versions (python 3.6 and platform-python), the following command displays incorrect information: > $ python3.6-config --configdir > /usr/lib/python3.6/config-3.6m-x86_64-linux-gnu In all cases it points to /usr/lib, when it should point to /usr/lib64, where the file actually exists. E.g.: > $ ls -alh /usr/lib/python3.6/config-3.6m-x86_64-linux-gnu > ls: cannot access '/usr/lib/python3.6/config-3.6m-x86_64-linux-gnu': No such file or directory > $ ls -alh /usr/lib64/python3.6/config-3.6m-x86_64-linux-gnu > total 232K > drwxr-xr-x. 3 root root 4.0K Nov 15 18:33 . > drwxr-xr-x. 3 root root 4.0K Nov 15 18:33 .. > -rw-r--r--. 1 root root 70K Oct 11 14:28 Makefile > -rw-r--r--. 1 root root 15K Oct 11 14:28 Setup > -rw-r--r--. 1 root root 327 Oct 11 14:28 Setup.config > -rw-r--r--. 1 root root 41 Oct 11 14:28 Setup.local > drwxr-xr-x. 2 root root 4.0K Nov 15 18:33 __pycache__ > -rw-r--r--. 1 root root 3.3K Oct 11 14:28 config.c > -rw-r--r--. 1 root root 1.6K Dec 23 2018 config.c.in > -rwxr-xr-x. 1 root root 7.0K Dec 23 2018 install-sh > -rwxr-xr-x. 1 root root 7.4K Dec 23 2018 makesetup > -rwxr-xr-x. 1 root root 2.1K Oct 11 14:28 python-config.py > -rw-r--r--. 1 root root 96K Oct 11 15:04 python.o Version-Release number of selected component (if applicable): [root@267776ee444a /]# rpm -qa | grep -i python36 python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64 python36-devel-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64 [root@267776ee444a /]# rpm -qa | grep -i platform-python platform-python-pip-9.0.3-15.el8.noarch platform-python-3.6.8-15.1.el8.x86_64 platform-python-devel-3.6.8-15.1.el8.x86_64 platform-python-setuptools-39.2.0-5.el8.noarch How reproducible: Very Steps to Reproduce: 1. Run python3-config --configdir 2. Try ls-ing the printed path path. Actual results: Returned directory doesn't exist. :o /o\ Expected results: Returned directory should exist!
I confirm the issue with python36-devel-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64 on Red Hat Enterprise Linux release 8.2 Beta: $ sudo dnf install -y python36-devel $ python3.6-config --configdir /usr/lib/python3.6/config-3.6m-x86_64-linux-gnu $ ls /usr/lib/python3.6/config-3.6m-x86_64-linux-gnu ls: cannot access '/usr/lib/python3.6/config-3.6m-x86_64-linux-gnu': No such file or directory whereas /usr/lib64/python3.6/config-3.6m-x86_64-linux-gnu exists: $ ls /usr/lib64/python3.6/config-3.6m-x86_64-linux-gnu Makefile Setup.config __pycache__ config.c.in makesetup python.o Setup Setup.local config.c install-sh python-config.py
This bug has a low priority for us. Let us know if you need a fix soon.
> Could I get a fix in RHEL 8.3? That's the current plan.
Ok, I identified the root issue and I'm working on a fix in Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1772988 Then the plan is to backport the fix to RHEL.
Alex, as for the testing part of this bug, can we just leave the verification on the freeradius team? You'll probably be best to tell whether the fix addresses your issue.
Honza, Sounds good. Let me know when this is implemented so I can try a FreeRADIUS build. Thanks!
The package python3-3.6.8-29.el8 is now ready for tests.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: python3 security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:4433