https://bugzilla.redhat.com/show_bug.cgi?id=2319608
Bug ID: 2319608 Summary: python3-sssdconfig packs outdated .pyc files Product: Fedora Version: rawhide OS: Linux Status: NEW Component: sssd Keywords: Regression Severity: medium Assignee: sssd-maintainers@lists.fedoraproject.org Reporter: jpazdziora@redhat.com QA Contact: extras-qa@fedoraproject.org CC: abokovoy@redhat.com, atikhono@redhat.com, lslebodn@redhat.com, mzidek@redhat.com, pbrezina@redhat.com, sbose@redhat.com, ssorce@redhat.com, sssd-maintainers@lists.fedoraproject.org Target Milestone: --- Classification: Fedora
The /usr/lib/python3.13/site-packages/SSSDConfig/__pycache__/*.cpython-313.pyc /usr/lib/files get regenerated when SSSDConfig module is used.
Reproducible: Always
Steps to Reproduce:
1. dnf install -y python3-sssdconfig 2. stat /usr/lib/python3.13/site-packages/SSSDConfig/__pycache__/__init__.cpython-313.pyc 3. python3 -c 'import SSSDConfig' 4. stat /usr/lib/python3.13/site-packages/SSSDConfig/__pycache__/__init__.cpython-313.pyc
Actual Results:
[root@0890eef375bc /]# stat /usr/lib/python3.13/site-packages/SSSDConfig/__pycache__/__init__.cpython-313.pyc File: /usr/lib/python3.13/site-packages/SSSDConfig/__pycache__/__init__.cpython-313.pyc Size: 57759 Blocks: 120 IO Block: 4096 regular file Device: 0,109 Inode: 1226072 Links: 2 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2024-10-15 00:00:00.000000000 +0000 Modify: 2024-10-15 00:00:00.000000000 +0000 Change: 2024-10-18 09:46:42.433097566 +0000 Birth: 2024-10-18 09:46:42.432097551 +0000 [root@0890eef375bc /]# python3 -c 'import SSSDConfig' [root@0890eef375bc /]# stat /usr/lib/python3.13/site-packages/SSSDConfig/__pycache__/__init__.cpython-313.pyc File: /usr/lib/python3.13/site-packages/SSSDConfig/__pycache__/__init__.cpython-313.pyc Size: 59402 Blocks: 120 IO Block: 4096 regular file Device: 0,109 Inode: 1196042 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2024-10-18 09:47:14.646592272 +0000 Modify: 2024-10-18 09:47:14.646592272 +0000 Change: 2024-10-18 09:47:14.646592272 +0000 Birth: 2024-10-18 09:47:14.646592272 +0000
Expected Results:
The Size and Modify time in the second stat run should match the output from the first one.
First found by https://github.com/freeipa/freeipa-container/actions/runs/11397511703/job/31....
https://bugzilla.redhat.com/show_bug.cgi?id=2319608
Andre Boscatto aboscatt@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Triaged CC| |aboscatt@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2319608
Red Hat One Jira (issues.redhat.com) redhat-one-jira@bot.bugzilla.redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Link ID| |Red Hat Issue Tracker | |SSSD-8258
https://bugzilla.redhat.com/show_bug.cgi?id=2319608
Red Hat One Jira (issues.redhat.com) redhat-one-jira@bot.bugzilla.redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Link ID| |Red Hat Issue Tracker | |SSSD-8259
https://bugzilla.redhat.com/show_bug.cgi?id=2319608
Andre Boscatto aboscatt@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|sssd-maintainers@lists.fedo |thalman@redhat.com |raproject.org |
https://bugzilla.redhat.com/show_bug.cgi?id=2319608
Tomas Halman thalman@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Flags| |needinfo?(jpazdziora@redhat | |.com)
--- Comment #1 from Tomas Halman thalman@redhat.com --- Hi Jan
do you still see the issue? I tried with latest rawhide and failed to reproduce the problem.
Tomas
https://bugzilla.redhat.com/show_bug.cgi?id=2319608
Jan Pazdziora (Red Hat) jpazdziora@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(jpazdziora@redhat | |.com) | CC| |jpazdziora@redhat.com
--- Comment #2 from Jan Pazdziora (Red Hat) jpazdziora@redhat.com --- With python3-sssdconfig-0:2.10.0-3.fc42 the issue is no longer present.
https://bugzilla.redhat.com/show_bug.cgi?id=2319608
Tomas Halman thalman@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution|--- |WORKSFORME Last Closed| |2024-12-06 10:20:01
--- Comment #3 from Tomas Halman thalman@redhat.com --- Thanks for the response.
https://bugzilla.redhat.com/show_bug.cgi?id=2319608
Jan Pazdziora (Red Hat) jpazdziora@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|WORKSFORME |RAWHIDE
sssd-maintainers@lists.fedoraproject.org