Bug 2316442

Summary: glibc-common rpm scriptlets print deprecation warnings during most RPM transactions
Product: [Fedora] Fedora Reporter: Fabio Valentini <decathorpe>
Component: glibcAssignee: Carlos O'Donell <codonell>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 41CC: arjun, codonell, dj, fberat, fweimer, jlaw, josmyers, mcermak, mcoufal, mfabian, pfrankli, sipoyare, skolosov, suraj.ghimire7
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-10-04 13:16:18 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:
Embargoed:

Description Fabio Valentini 2024-10-04 11:14:32 UTC
Description of problem:
On almost every RPM transaction (installing, updating, removing packages), some rpm scriptlet from glibc-common prints these deprecation warnings:

warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead

This is the case on all current version of Fedora, as far as I can tell, so the lua functions used in the scriptlet have likely been deprecated in RPM 4.19.

Version-Release number of selected component (if applicable):
glibc-common-2.40-3.fc41.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Install a package (for example: "sudo dnf install gstreamer1-plugin-dav1d")
2. Watch deprecation warnings from the glibc-common RPM scriptlets scroll by.

Actual results:
No deprecation warnings.

Expected results:
Deprecation warnings in RPM / DNF output.

Additional info:
N/A

Comment 1 Carlos O'Donell 2024-10-04 13:16:18 UTC
We're tracking this in 2291869.

*** This bug has been marked as a duplicate of bug 2291869 ***