Bug 2316442 - glibc-common rpm scriptlets print deprecation warnings during most RPM transactions
Summary: glibc-common rpm scriptlets print deprecation warnings during most RPM transa...
Keywords:
Status: CLOSED DUPLICATE of bug 2291869
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: 41
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Carlos O'Donell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-04 11:14 UTC by Fabio Valentini
Modified: 2024-10-04 13:16 UTC (History)
14 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-10-04 13:16:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.