Bug 1851090
Summary: | distutils module: sysconfig.get_config_var('LIBPL') returns non existing directory | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Victor Stinner <vstinner> |
Component: | python3 | Assignee: | Python Maintainers <python-maint> |
Status: | CLOSED ERRATA | QA Contact: | Lukáš Zachar <lzachar> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.3 | CC: | cstratak, dmalcolm, extras-qa, m.cyprian, mhroncok, pviktori, rkuska, shcherbina.iryna, slavek.kabrda, tomspur, torsava, vstinner, zdohnal |
Target Milestone: | rc | ||
Target Release: | 8.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python3-3.6.8-30.el8 | Doc Type: | Bug Fix |
Doc Text: |
The python3 -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('LIBPL'))" command returns the /usr/lib64/python3.6/config-m-x86_64-linux-gnu path which doesn't exist.
With the fix, the command returns the correct path: /usr/lib64/python3.6/config-3.6m-x86_64-linux-gnu ("config-3.6m" instead of "config-m").
|
Story Points: | --- |
Clone Of: | 1851008 | Environment: | |
Last Closed: | 2020-11-04 01:30:33 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Bug Depends On: | 1851008 | ||
Bug Blocks: |
Description
Victor Stinner
2020-06-25 15:17:28 UTC
In RHEL8, python3 3.6.8-29 has the issue (rhbz#1772992). But it's not really a regression, the bug was already present before the rhbz#1772992 fix. It's just that LIBPL didn't expose the bug previously. Hi Victor, just my 2 cents - I cannot reproduce the bug on RHEL 8. [root@ci-vm-10-0-138-171 ~]# python3 -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('LIBPL'))" /usr/lib64/python3.6/config-3.6m-x86_64-linux-gnu Unless you have somewhere new python update waiting, RHEL 8 hasn't been affected yet. > just my 2 cents - I cannot reproduce the bug on RHEL 8.
The issue is in python3 3.6.8-29 (rhbz#1772992) which is not in repositories yet (it's at the ON_QA stage).
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 |