Bug 2292565

Summary: Files are missing in RPM database.
Product: [Fedora] Fedora Reporter: Christoph Karl <pampelmuse>
Component: crypto-policiesAssignee: Red Hat Crypto Team <crypto-team>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: asosedki, crypto-team, luk.claes, rrelyea, tm
Target Milestone: ---Flags: fedora-admin-xmlrpc: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-30 09:46:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christoph Karl 2024-06-16 05:35:28 UTC
The following files are missing in RPM database:
/usr/share/crypto-policies/python/cryptopolicies/__pycache__/alg_lists.cpython-313.pyc
/usr/share/crypto-policies/python/cryptopolicies/__pycache__/cryptopolicies.cpython-313.pyc
/usr/share/crypto-policies/python/cryptopolicies/__pycache__/__init__.cpython-313.pyc
/usr/share/crypto-policies/python/cryptopolicies/validation/__pycache__/alg_lists.cpython-313.pyc
/usr/share/crypto-policies/python/cryptopolicies/validation/__pycache__/general.cpython-313.pyc
/usr/share/crypto-policies/python/cryptopolicies/validation/__pycache__/__init__.cpython-313.pyc
/usr/share/crypto-policies/python/cryptopolicies/validation/__pycache__/rules.cpython-313.pyc
/usr/share/crypto-policies/python/cryptopolicies/validation/__pycache__/scope.cpython-313.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/bind.cpython-313.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/configgenerator.cpython-313.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/gnutls.cpython-313.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/__init__.cpython-313.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/java.cpython-313.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/krb5.cpython-313.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/libreswan.cpython-313.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/libssh.cpython-313.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/nss.cpython-313.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/openssh.cpython-313.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/openssl.cpython-313.pyc
/usr/share/crypto-policies/python/policygenerators/__pycache__/sequoia.cpython-313.pyc


Reproducible: Always

Steps to Reproduce:
1. rpm -qf /usr/share/crypto-policies/python/cryptopolicies/__pycache__/alg_lists.cpython-313.pyc
file /usr/share/crypto-policies/python/cryptopolicies/__pycache__/alg_lists.cpython-313.pyc is not owned by any package
and so on
Actual Results:  
not owned by any package


Expected Results:  
crypto-policies-scripts-20240521-1.gitf71d135.fc41.noarch

Seems to be due to the python 3.13 update.

Comment 1 Alexander Sosedkin 2024-06-19 08:32:01 UTC
crypto-policies doesn't do any special handling of __pycache__/.pyc.

I've looked into this briefly:
* if I upgrade to rawhide, I do get both 312 and 313 files, with only the 312 files owned by crypto-policies.
* if I rebuild and reinstall crypto-policies, I get just the 313 ones, owned by crypto-policies.
Therefore I don't think there's anything to do, and the next rebuild will set it straight.
I also guess this should be the case for every python package.

Comment 2 Christoph Karl 2024-06-30 09:46:50 UTC
I retested in current rawhide today and it is OK now.
so maybe some interference with the python update.